View Full Version : Backgound postitioning in pixels?


fruitcake
01-13-2003, 01:49 AM
I can't get it to come down from the top. I can move it left and right though.

body {
background-image: url(lines.png);
background-repeat: repeat-y;
background-position: 50 170;
background-attachment: fixed }


:confusion

Alcy
01-16-2003, 01:14 AM
If you want the background to come down, the image can't repeat. Otherwise, it'll repeat down the page (repeat-y), which is what you don't want.

body {
background-image: url(lines.png);
background-repeat: no-repeat;
background-position: 50 170;
background-attachment: fixed }

If you want the background to start in a particular place, why not try tables? You can position those wherever you want as well :)