The clearfix hack is a popular way to contain floats without resorting to using presentational markup. This article presents an update to the clearfix method that further reduces the amount of CSS required.
Tag Archives: float
What Every Programmer Should Know About Floating-point Arithmetic
Link
Why don’t my numbers add up?