Posts Tagged ‘div’

01
19
2009

CSS Clearfix – Keeping Pesky Floats In Their Place

Posted in: Blog, CSS by Justin Blough

Keep your floated elements in place without junking up your code with un-needed empty div tags. Just put these stylesheet class declarations in your stylesheet and then add the clearfix class to the parent element.