W3C home > Mailing lists > Public > www-style@w3.org > August 2005

'clear' and clearance

From: Staffan Mhln <staffan.mahlen@comhem.se>
Date: Wed, 10 Aug 2005 18:31:19 +0200
To: www-style@w3.org
Message-ID: <42FA47F7.6576.292BFA@localhost>

Is "clearance" when a clear actually takes effect or is it that the
'clear' property is defined to left, right or both?

In other words, should the margins in the following case collapse or 

<div style="margin-bottom: 0.5em">-</div>
<div style="margin-top: 0.5em; clear: both">-</div>

compared to:

<div style="float: right; width: 0.5em; height: 0.5em">&nbsp;</div>
<div style="margin-top: 0.5em; clear: both">-</div>

Received on Wednesday, 10 August 2005 16:31:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:39 GMT