Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Can not position background image
March 3, 2008, 4:21 am
rate this thread
border: 1px solid gray;
background-position: 40px 220px;
according to the above code (I would assume) that the image would start
40px from the left and 220px from the top. This is not the case; it is
starting 40px from the left; however, it is starting at the very top and
not 220px below that.
The image is a 240px wide by 1px tall image tiled in the y axis. Any
thoughts as to what I am overlooking? BTW, I have commented out a few of
the other background images for clarity so the site is not quite as bad
as it seems at the moment (although it is far from finished...)