Why HTML5 BoilerPlate, Blueprint and 960.gs CSS framework use Clearfix
over overflow:hidden
?
Why overflow:hidden
is not preferred? To use clearfix
every-time I need to add clearfix
class to html element but I can add overflow:hidden
to the element in css without modifiying html.
Please explain with example the disadvantage to use overflow:hidden
Is clearfix
class not mixing the presentation with content?