« Blog (noun); see blog | Main | Bluetooth is (too) Hard »

April 30, 2008

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a015392891771970b0154366323eb970c

Listed below are links to weblogs that reference The magic of <div style="clear:both">:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Karl

>>
Funny thing is that you have to have the explicit closing tag for it to work; won't do it.
>>>

One wouldn't expect it to work. By definition, is a container tag and as such, there should be no use in it self closing.

So therefore, why bother with the extra characters? Why not just throw "style="clear:both" in the where it is needed?

Karl

Steve

Thanks! Simple, but I never really did understand what it meant!

Dave

This is a great piece of html code to keep floating components in specific area of your web page.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment