View Single Post
Old 05-15-2009, 03:51 AM   #4 (permalink)
stewart
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default

Clearing "clears" floats.

Like in your example, clearing on the right side told the browser to not allow any floated elements on the right side of the element.

You don't need to (and probably shouldn't..) put an extra div in there to achieve this either, you can just add the clear:right to your div that you want to clear the others.

And just for reference, clear: both , would make it drop down below all of the floated elements.
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote