在下面的代碼中,table
應該低於div
最終與它碰撞並顯示在它的中間。DIV與純HTML中的TABLE碰撞
任何幫助,歡迎。
小提琴here
<div id="header" width="100%">
<center>
blabla
</center>
<table align="left" class="header">
<tbody>
<tr>
<th>Links</th>
</tr>
<tr>
<td><a href="blabla">blabla</a></td>
</tr>
<tr>
<td><a href="blabl">blabla</a></td>
</tr>
<tr>
<td><a href="blabla">blabla</a></td>
</tr>
</tbody>
</table>
<table align="right" class="header">
<tbody>
<tr>
<th>contacts</th>
</tr>
<tr>
<td><a href="mailto:adude">this guy</a></td>
</tr>
<tr>
<td><a href="mailto:anotherdude">that other guy</a></td>
</tr>
</tbody>
</table>
</div>
<table>
<tbody>
<tr>
<th>the table that shouldn't be here</th>
<th></th>
</tr>
</tbody>
</table>
非常感謝我的工作。 – Chapo
我遇到了這樣的問題,即當我將邊框應用於包含'div'時,表格不再包含,但這是針對其他線程的。 – Chapo