【发布时间】:2021-02-23 02:54:28
【问题描述】:
table > thead > tr >th>.empty-cell{
background-color: transparent ;
border : none;
}
<html>
<head><title>Table</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<table>
<thead>
<tr>
<th class="empty-cell"></th>
<th> Smart Starter </th>
<th> Smart Medium </th>
<th> Smart Business </th>
<th> Smart Deluxe </th>
</thead>
<tbody>
</tr>
</table>
</body>
我想在 css 的标题表中有一个空单元格,如下图所示:
谁能帮帮我?我是个初学者。
【问题讨论】:
-
问题出在哪里?对于空单元格,只需使用空单元格
<td></td>。