/ Published in: CSS
Expand |
Embed | Plain Text
/**** clearfix ***/ .views-field-field-carpark-number-value:after, .ClearFix:after{ content:"."; display:block; height:0; clear:both; visibility:hidden; height:1%; } /* WinIE7 only */ *:first-child+html .ClearFix{ height:1%; } /* WinIE6 and below */ /*\*/ * html .ClearFix{ height:1%; }
Comments
Subscribe to comments
You need to login to post a comment.

its way easier to just put overflow:auto on the parent element (container) of the floated elements
@adamcoulombe : overflow is not always appropriate, some layouts will trigger scrollbars with overflow:auto