Return to Snippet

Revision: 25325
at March 27, 2010 08:08 by shapeshifta


Initial Code
/* for the normal browsers */
.clearfix:after {
clear:both;
content:".";
display:block;
height:0;
visibility:hidden;
}


/* for IE6+7 */
/* sets hasLayout */
* html .clearfix, *+html .clearfix {display:inline-block;}

/*hasLayout still set*/
* html .clearfix, * html .clearfix {display:block;}

Initial URL

                                

Initial Description

                                

Initial Title
The better clearfix

Initial Tags

                                

Initial Language
CSS