Is clearfix deprecated?
You can pretty much use overflow: hidden all the time. But, there are exceptions. Here’s an example of one: Overflowing a container div horizontally but not vertically The question there was: There’s a fixed height on this: http://jsfiddle.net/je8aS/2/ Without the fixed height: http://jsfiddle.net/thirtydot/je8aS/5/ How to clear the floats without using a fixed height? overflow: hidden …