[thelist] CSS background-position property not working

Sarah poohbear at designshift.com
Wed Feb 26 15:12:01 CST 2003

>alternately, you could do mostly what you were before, instead applying
>the background image to a div nested within the body (directly after
>the tag)-- something like:
>{ font-family: sans-serif;
>   font-size: 90%;
>   background-color: #ff9900;
>   color: white;
>   width:100%;
>   margin-left:100px;
>   background-image: url("images/stripes.gif");
>so you'll get your orange band and the rest of the page (at any width)
>will be filled with the background image.

I had thought of doing this, but then the div, being set to 100% width,
makes a horizontal scrollbar appear, which I wanted to avoid.


More information about the thelist mailing list