Hi list,

I have a div that contains two spans, each with a floating attribute set.
There is no line-break in IE7 or Firefox 2.0.0.1 unless I have some other
content in the div outside of the floating spans.  Can anyone explain to me
why this is works this way, and/or a better way to get it to behave the way
I'd like it to.

Example:

---------------------------------------------
<html>
<body>
<div>content above</div>
<div>
        <span style="float: right;">right</span>
        <span style="float: left;">left</span>
</div>
<div>content below</div>

<hr />

<div>content above</div>
<div>
        <span style="float: right;">right</span>
        <span style="float: left;">left</span>
        &nbsp;
</div>
<div>content below</div>
</body>
</html>
---------------------------------------------
Thanks for any insight,

Ray at work



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

Reply via email to