我在对齐图像右侧的表格时遇到了问题。图像和表格都在超级表格的单元格中。你能帮我吗?CSS对齐表格
<td class="menu-section" style="background: #F0F;"> <a href="#">
<img class="menu-section-icon" onmouseover="document.getElementById('menu-section-desc-0').style.display = 'block';" onmouseout="document.getElementById('menu-section-desc-0').style.display = 'none';" onclick="document.getElementById('menu-section-sub-0').style.display = 'block';" src="/resources/images/server-icon-breakpoint-web-64.png">
<div id="menu-section-desc-0" class="menu-section-desc" style="background-color: rgb(255, 0, 255); display: none;">
<span class="menu-section-desc-content">
Description stuff
</span>
</div>
</a>
<div id="menu-section-sub-0" class="menu-section-sub">
<table class="menu-table">
... table contents ...
</table>
</div>
</td>
看起来非常像它不应该首先涉及表。 – Quentin
表是一个懒惰的人的布局工具。其余的使用使用CSS。 –
请描述发生了什么,以及你想要发生什么。 –