解决方法:在外层中在添加一层clear掉float就成.
view plaincopy to clipboardprint?
<div style="clear:both;height:0px;"></div>
<div style="clear:both;height:0px;"></div> view plaincopy to clipboardprint?
/*整体代码*/
<div style="background:url(..);" mce_style="background:url();">
<div style="float:left;" mce_style="float:left;"></div>
/*下面一层work*/
<div style="clear:both;height:0px;"></div>
</div>
本篇文章来源于:开发学院 http://edu.codepub.com 原文链接:http://edu.codepub.com/2010/0517/22760.php