/ Published in: CSS
just add a class of .clearfix to any element containing a float needing to be cleared
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
URL: http://www.positioniseverything.net/easyclearing.html