dwight
01-18-2007, 09:04 AM
This is a problem I've had a few times before and I've just not bothered about it and changed my design, but I'm currently working on a site I can't change the design of and I really need to sort this glitch out.
HTML Code:
<div id="header">
<div id="LEFT" style="float:left;width:100px;">LEFT</div>
<div id="RIGHT" style="float:right;width:100px;">RIGHT</div>
</div>
<div id="content">Blah, blah, blah"</div>
Now what I want this to come out as (sorry about the dodgy sketching) is:
LEFT RIGHT
Blah, blah, blah
Instead, the "blah" likes to jump in the middle between the two floating divs, ie:
LEFT Blah, bl RIGHT
ah, blah
Anyone know how to sort this out, and to keep the CONTENT div staying down below where it should be? (I wanted to search Google and forums for this but am unsure what this problem would be called...)
HTML Code:
<div id="header">
<div id="LEFT" style="float:left;width:100px;">LEFT</div>
<div id="RIGHT" style="float:right;width:100px;">RIGHT</div>
</div>
<div id="content">Blah, blah, blah"</div>
Now what I want this to come out as (sorry about the dodgy sketching) is:
LEFT RIGHT
Blah, blah, blah
Instead, the "blah" likes to jump in the middle between the two floating divs, ie:
LEFT Blah, bl RIGHT
ah, blah
Anyone know how to sort this out, and to keep the CONTENT div staying down below where it should be? (I wanted to search Google and forums for this but am unsure what this problem would be called...)