On Jul 23, 2007, at 10:13 PM, Bruno Fassino wrote:

>> adding 'overflow:hidden' to the ::after ruleblock would fix that  
>> part.
>
> Was there a reason why the "easy clearing" method adopted for ::after
> visibility:hidden (and a non empty content) instead of
> overflow:hidden? Perhaps the fact that for some (now old) Geckos the
> clear was not working with height:0 and overflow:hidden?

Older Geckos didn't clear anything with an empty content:'';  (and  
height:0 + overflow:hidden was causing problems as well, iirc, no old  
versions at hand to check - but where talking about quite old  
versions, older than Gecko 1.4).

Note that that gap we're talking about in this thread is only visible  
at the bottom of html (body). If one clears float that way in the  
middle of the page, the subsequent content (below the floats) will  
abut to the clearer - normal behaviour with 'height:0'.

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to