Previous Message
Next Message

ie/firefox discrepancy

Sent by Philippe Wittenbergh on 25 March 2006 08:08

On Mar 25, 2006, at 4:49 PM, lucas wrote:

> on my blog:
> the pale rectangle at the top of the page is supposed to enclose  
> all the blog content
> (see here - - 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  

[1] <>
[2] <>

Philippe Wittenbergh

css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: