Clearing floats
/*.group added to the parent element containing floated objects*/ .group:before, .group:after { content: ""; display: table; } .group:after { clear: both; } .group { *zoom: 1; }