Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Multiple Background Images Re: [Solved] Multiple Background Images

#78204
cmoist
Member

The repeating background images should extend to the edge of the browser window. Since divs are block level elements, they should expand to 100% of their parent – in this case the body.

I would guess that by default, the body tag has some padding or a margin on it. For example, Firefox gives the body tag 8px of margin by default. I would implement a reset style sheet or simply add the below to the body selector in your css.

Code:
margin: 0;
padding: 0;

Aside from all of that, your solution should work fine.