Perfect clearer

Well may be not perfect but nearly there:

.clearer{
clear: both;
height: 0;
font-size: 1px;
line-height: 0;
}

Apply it as:

When overlow: hidden doesn’t work or when you are testing IE 6 this does the job. I haven’t tested it extensivley yet but it seems ok so far.

Other handy references:

Comments

Leave a Reply