magazzino disordinato di appunti
Clear Float Senza Markup Strutturale
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
/* compatibilità IE5/Mac - però spezza Opera...
/* .clearfix {display: inline-block;} */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */
Fonte: http://www.positioniseverything.net/easyclearing.html