On Mar 25, 2006, at 4:49 PM, lucas wrote: > on my blog: > http://www.squatspace.com/uncollectable/blog/ > the pale rectangle at the top of the page is supposed to enclose > all the blog content > (see here - http://www.squatspace.com/uncollectable/ - for how it > should look) > > it functions ok in IE, which leads me to think that i have made > some error with css and divs, and IE is letting me get away with it.
Your div#main contains two floated blocks; these are removed from the flow, and as a result that div doesn't expand as you wish. It works in IE because that div has a 'width' specified. This causes the div to get 'layout' [1], and enclose the floated blocks. A good method to solve this problem is the 'easy clearing' technique [2]. [1] <http://www.satzansatz.de/cssd/onhavinglayout.html> [2] <http://www.positioniseverything.net/easyclearing.html> Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/