同一div内的两个div,其中float:left;如果在前面,那么会产生占位。 why?
我感觉应该是两个div的内容进行重叠,可为什么没重叠,而第一个div float:left;还占位了?
<div id="one" style="width:500px; height:30px; border:1px solid black;">
<div id="lfInOne" style="float:left;width:100px; height:30px; background:yellow;">float的内容</div>
<div id="inOne" style="width:500px; height:30px;">标准文档流的内容</div>
</div>
淡雅的默
ikonorion
慕郎_莲华