How to fix a layout which contains divs containing only floated elements
Suppose you’ve got 2 divs, one containing floating divs and one with a border
But look it’s broken!
Fix is pretty easy. We create an empty div and apply a clear:both style to it and place the div between the previous two divs.
And that’s it!