> Trying to catch a float ...
> http://www.complexspiral.com/publications/containing-floats/
>
> This must be one of the most-cited links in this list. And if not, it
> should be.

i actually prefer method #2 in the wiki on clearing floats (though my
code varies a little [1]), but they have other links there as well.
what i like most is that when ie6 dies, i just have to snip out the ie
fix from my css.  you can use conditional comments of course, but it's
a personal choice.

http://css-discuss.incutio.com/?page=ClearingSpace



[1]
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

/* Hides from IE5/Mac \*/
* html .clearfix {height: 0;}
/* End hide from IE5/Mac */
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/

Reply via email to