[thelist] Firefox CSS Background Issue

Maximillian Schwanekamp lists at neptunewebworks.com
Tue Sep 6 12:16:28 CDT 2005


Minh Lee Goon wrote:
> http://www.digeratidesignstudios.com/bahra/
> Here's the URL for a web site that I'm currently working on. The 
> background image that appears in the header in FF should continue down 
> into the body, as it appears in IE.

As usual, FF's rendering is more correct: you have floats inside a 
container, and no non-floated content, so the container contracts to the 
smallest non-floated area (which is 0px + your top padding).  Add a 
clearing element below your floats, just before #Container's </div>.

Discussion:
http://css-discuss.incutio.com/?page=ClearingSpace
http://www.complexspiral.com/publications/containing-floats/


-- 
Max Schwanekamp http://www.neptunewebworks.com/



More information about the thelist mailing list