Sent by Zoe M. Gillenwater on 2 March 2005 13:01
Sander Maréchal wrote:
> Alex Robinson wrote:
>
>> http://www.456bereastreet.com/archive/200502/simple_clearing_of_floats/
>>
>> I haven't noticed this mentioned on the list so far, but Roger
>> Johansson and others have realised/discovered a method of clearing
>> floats (or rather making elements expand to contain their children)
>> that is as semantic as the PIE easy clearing method, but much much
>> simpler. It also has the advantage that it doesn't inadvertently
>> clear any previous floats.
>
>
> I saw someone add it in a new page to the Wiki today and played around
> with it. I could not find any flaw except that IE wants an explicit
> width set on the containing element. I just merged that new wiki page
> with the other clearing methods at:
> http://css-discuss.incutio.com/?page=ClearingSpace
>
>
Thanks. I just edited it a bit myself to temper the wording since there
are some problems with this new method in complex layouts (as Philippe
noted), etc. I don't think we can yet recommend this as the best option
universally, but it is a great new tool to have.
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/