05-15-2009, 03:51 AM
|
#4 (permalink)
|
|
WebDev'n Beer Drnkn' Fool
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
|
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.
|
|
|