Setting the background image is clear, but how do i set the position for the background-image?
+1
A:
The background-position property, e.g.
background-position:top right;
James
2010-03-17 20:25:12
A:
Or you could use shorthand to set everything at the same time!
background:#ffffff url('/images/background.jpg') top right no-repeat;
Dov
2010-03-17 20:41:14
+1
A:
if you want a background image with no-repeat positioned 10px to the right and 20px from the top
{ backgroud: url(path to image) no-repeat 10px 20px; }
you can use negative values for the position too, eg. -10px to move it 10px to the left
pixeltocode
2010-03-18 08:27:16