0
谁能告诉我为什么#contHolder div不会被推到第一行? 用“任何文本内容”替换表格元素,并且所有内容都正确对齐。div元素排列
<div id="footerWrapper"style="display: block; width:100%;">
<div id="firstCol" style="float:left; width: 30%;">
<div id="footerProjectTitle" style="float: left; width: 100%; background-color:red;">title</div>
<div style="clear:both"></div>
<div id="contHolder"style="float: left; width: 30%; background-color: #ffc0cb;">
<table>
</table>
</div>
</div>
<div id="secondCol" style="float:left; width: 30%;">
<div id="linkHolder"style="float: left; width: 100%; background-color: #f0ffff;">
<table>
</table>
</div>
</div>
</div>
这里有一个小提琴
更新小提琴: http://jsfiddle.net/KzJN3/2/
的感谢!
打我吧! +1 – user1477388 2013-02-20 21:26:36
谢谢你们。那个网站真的很有帮助。一如既往的解决方案,添加另一个包装div!我上面发布了我的解决方案 – dan 2013-02-21 02:17:31