http://w3schools.i2p/howto/howto_css_clearfix.asp
Hire Developers How TO - Clear Floats (Clearfix) Learn how to clear floats with the "clearfix" hack. How To Clear Floats (Clearfix) Elements after a floating element will flow around it. Use the "clearfix" hack to fix the problem: Without Clearfix With Clearfix The clearfix Hack If an element is taller than the element containing it, and it is floated, it will overflow outside of its container.