Sent by Zoe M. Gillenwater on 10 March 2005 16:04
Sander Maréchal wrote:
> Zoe M. Gillenwater wrote:
>
>> Sander Maréchal wrote:
>> The "Easy Clearing" method does not rely on a browser bug. It relies
>> on generated content, a CSS feature. That being said, feel free to
>> continue using what you like and what works for you.
>
>
> It relies on a rendering bug in IE, which does not understand generated
> contents, but it's bug makes the parent div wrap the floating children
> anyway. If/when IE7 is out and it supports generated content then I will
> be happy to use that method though :-)
>
That's my point. IE already wraps floats, so this method is only used
to make standard compliant browsers contain floats, and it does so in a
standard compliant way. Yes, it includes hacks, but only to hide the
valid information from IE's cruel eyes. If IE7 supports generated
content is irrelevant, because this method is not targetting IE, it is
targetting good browsers.
I suppose you could argue that IE might fix its float containment issue
but not add support for generated content, in which case your floats
would hang out in IE. However, I find this so unlikely and the other
hacks so much more "hackier" that I am willing to take that risk.
Zoe
--
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/