Skip to content
CSS Head
CSS links, tutorials, code and demos for web designers and developers
    About Archives Contact Privacy and Cookies Policy Submit a Link Submit Community News
CSS Head
CSS links, tutorials, code and demos for web designers and developers
Home Submit a Link Contact About

Tag: clearfix

A new micro clearfix hack

April 23, 2011

The clearfix hack is a popular way to clear floats without resorting to using presentational markup. This article presents an update to the clearfix method that further reduces the amount of CSS required…

csshead comment 0 Comments

Everything you Know about Clearfix is Wrong

April 14, 2010

Too often, authors trigger hasLayout without thinking of adding the necessary styling to create the same rendering across all browsers. Because of this, they end up adding IE specific declarations to “patch” their styling. This does not mean we should avoid clearfix at all costs though. It is a great tool which is safe to […]

csshead comment 0 Comments

The New Clearfix Method

December 13, 2009

Say goodbye to the age-old clearfix hack and hello to the new and improved clearfix method. The clearfix hack, or “easy-clearing” hack, is a useful method of clearing floats. I have written about the original method and even suggested a few improvements. The original clearfix hack works great, but the browsers that it targets are […]

csshead comment 0 Comments

CSS Fundamentals: Containing Children

July 3, 2009

An article for CSS beginners that explains the mysteries of forcing parent divs to contain their children. Two methods are described – overflow: hidden, and clearfix…

csshead comment 0 Comments