Q:

Is it possible on CSS(2) say right-5 on background-position?

Possible Duplicate:
Offset a background image from the right using CSS 

CSS usually is :
background-position:right top; 

but If I'd like to say somethings like right-5px? Is it possible?
Like position in an element :
right:-5px;

Anyone know?
EDIT
Maybe it is unclear! I mean somethings like :
background-position:right-5px top; 

A:

It's not possible with CSS2 but you can do a trick. Write like this:
div{
    background:red;
    width:200px;
    height:200px;
    position:relative;
    overflow:hidden;
}
div:after{
    content:'';
    position:absolute;
    width:200px;
    height:200px;
    top:0;
    right:-5px;
    background:url('http://www.dummyimage.com/600x400/000/fff');
}

Check this  http://jsfiddle.net/s9L2T/

