Previous Message
Next Message

Easy Clearing and clear:both issue

Sent by Gunlaug_Sørtun on 22 March 2006 01:01


jack fredricks wrote:

> I guess the real question is "is clear:both supposed to stop clearing
>  once it gets to the margin of the containing element, or does it 
> also clear BEYOND that margin?".

Clearings will act on anything within the flow. Margins won't stop it.

One way to handle this is to make the following changes...

Delete...
#main {margin-left: 180px;}

Add...
#main {overflow: hidden;}

....that will *isolate* that container, in accordance with...
<http://www.w3.org/TR/CSS21/visuren.html#q15>

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: