Css float question

software development

#1

I just got started into CSS and I floated something right and everything came up next to it. How do I make the next area drop lower, instead of coming up next to it.


#2

You will need to clear the float. In the following example, the third DIV is below the floated DIV:

CSSdiv { width: 100px; } /* sets all to 100px wide to make example work */ .one { float: right; } .three { clear: both; }HTML[code]

Floats to the right
Is dragged up to the left
Is beneath both of the above DIVs
[/code] -- [url=http://jessey.net][b]si-blog[/b][/url] -- [b]Max[/b] discount on [i]any[/i] plan with promocode [url=http://dreamhost.com/r.cgi?53419|SCJESSEYTOTAL][b]SCJESSEYTOTAL[/b][/url]