【发布时间】:2016-09-29 01:48:00
【问题描述】:
我正在构建一些表并经历了很多迭代。在某些时候,我在第一行 (https://jujusupply.com/pages/customer-gift-notes) 上发现了这个奇怪的底部边框,但我不确定它来自哪里或如何摆脱它?这只是一个非常简单的 HTML 表格。
table {
width: 100%;
}
td {
text-align: center;
font-size: em(14px);
font-style: italic;
padding: 12px;
background-color: #eeeeee;
border: 8px solid white;
height: 200px;
}
td:hover {
background-color: #ffde17;
}
<div style="overflow-x: auto;">
<table>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
</div>
【问题讨论】:
标签: html css html-table