Tuesday, September 1, 2009

Float clear teachniques

Recently i came to know about a method through which we can clear our floats without using clear elements at end of content. Adding clear elements just for proper rendering adds up to extra markup which dirties our pages.

Read this very good article which explains about various ways including traditional way of clear elements.
Simple Clearing of Floats

Method #4 author writes is pretty cool.

No comments: