Hi, dear all,
I have met a float problem in IE6/7.

code:
----------------------------------------------------------------------------
    <div id="1" style="background-color: #0f0;">
        <div  style="float:left;height:30px;width:100%;">
        </div>
        <div style="clear:both;"></div>
    </div>
    <div  id="3" style="background-color: #f00;height:5px; margin: 0 
5px;"></div>
----------------------------------------------------------------------------
it looks pretty good in FF3+/IE8, but in IE6/7  the #3 DIV seems to be inside 
#1 DIV.
is this a IE bug or something else? how to fix it?

any reply will be helpful, thanks.
Wenlong.



      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to