[thelist] [CSS in FF & IE] Background image is not showing

Max Schwanekamp lists at neptunewebworks.com
Fri May 12 01:27:03 CDT 2006


> From: Minh Lee Goon
> http://www.digeratidesignstudios.com/BEDC/index3.cfm
> 
> I don't know why Firefox is putting the muted background behind the 
> header at the top of the page, when the style is defined for 
> the content 
> layer where the text resides. Internet Explorer is rendering it how I 
> intend for the page to look. Any idea?

Problem is not #MainContent but #Header.  Because #Header's content is all
floated (div.nav's), #Header itself should collapse to 0 height (per the
specs).  IE incorrectly expands the containing element in this case, FF
plays it by the book.  Modify the #Header rule (currently empty in your
css):
#Header {
	height: 200px;
}
HTH.

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





More information about the thelist mailing list