/ Published in: CSS

Thanks Thierry!
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.clearfix:before, .clearfix:after { content: "."; display: block; height: 0; overflow: hidden; } .clearfix:after {clear: both;} .clearfix {zoom: 1;} /* IE < 8 */
URL: http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified/
Comments
