Simple float and clear

HTML
<div></div> <div></div> <div class="clear"></div> <div></div> <div></div> <div></div> <div class="clear"></div> <div></div> <div></div> <div></div> <div></div> <div></div>
CSS
div { width: 100px; height: 100px; background: red; margin: 20px; float: left; } .clear { clear: left; }
JAVASCRIPT
Expand for more options Login