2009
12.11

clearfix:after

Via snook.ca
clearfix:after is better than overflow:hidden

because overflow:hidden affects printing and text selection in Firefox.

  1. Thanks.
    I was unaware of the clearfix trick.
    Two good article I found on the subject (one points to another)
    http://www.positioniseverything.net/easyclearing.html
    http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/