Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Clearing floats within a float


whatson - 8:13 pm on Oct 24, 2012 (gmt 0)


e.g.

#side-nav #image{
float: left;
}

<div id=side-nav>
-home
-about
</nav>

<div id=body>
<div id=image></div>
<div id=content></div>
<div style="clear:both"
<div id=more-content></div>
</div>

So the issue is that when I clear the float within body, the more-content section will then be placed under the side-nav, as it is clearing all the floats, and I just wanted to clear the image float within the body.

How do I do that?


Thread source:: http://www.webmasterworld.com/css/4511914.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com