On Jul 14, 2005, at 6:05 AM, victor NOAGBODJI wrote:

I did a #sideBox { float: left; clear: left; .... } and it worked.
Now I do #sideBox { float: left ....} ... <div id="sideBox">.....<br id="clearleft" /></div> and it works also.

What is the difference, which is better?

First method: Place sideBox on the left edge, below any previous boxes that were floated left.

Second method: Extend the bottom of sideBox to one line beyond the bottom of any box within sideBox that has been floated left.

Which is better? Depends on what effect you're trying for. They do different things.

Have Fun,
Arlen

------------------------------
In God we trust, all others must supply data

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to