CSS表格table
# table 样式
# table 的宽度设置无效
.table {
table-layout: fixed;
}
1
2
3
2
3
# 表格边框合并
table {
border-collapse: collapse;
}
1
2
3
2
3
# 完整 table 标签
<!-- 完整版table -->
<table>
<thead>
<tr>
<td></td>
</tr>
</thead>
<tbody>
<tr>
<td></td>
</tr>
</tbody>
<tfoot>
<tr>
<td></td>
</tr>
</tfoot>
</table>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
编辑 (opens new window)
上次更新: 2023/04/01, 15:26:22