日期:2014-05-17  浏览次数:20601 次

清除浮动时,FF和IE的兼容性
HTML code

<div style="background:yellow;">
    <div style="width:100px; height:100px; background:red; float:left;"></div>
    <div style="clear:both;"></div>
</div> 

aaaaaaaaaaaaa



FF中:


IE中:


IE中,div怎么把下面的字也包含进去了??

------解决方案--------------------
你用的ie几?我用ie8测试没问题啊