我試圖擺脫此表上特定行中的邊框。我想要男士和品牌Armada的行周圍的邊框,但沒有中間botder行。出於某種原因,我無法使用tr類來擺脫它。我在做什麼錯誤?隱藏表格,HTML的特定行的邊框CSS
table,
tr,
td,
th {
border: 1px solid;
border-collapse: collapse;
}
.noBorder {
border: 0;
}
<table>
<tr class="noBorder">
<th>Men</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<th>Brand</th>
<th>Model</th>
<th>Waist</th>
<th>Lengths</th>
<th>Quick Description </th>
</tr>
<tr class="noBorder">
<th>Armada</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td>Armada</td>
<td>Tracer 88</td>
<td>88</td>
<td>162, 172</td>
<td>Cut with an 88mm waist width and Armada s snow-shedding Tapertop topsheet to minimize added weight from snow buildup, the Armada Tracer 88 Skis travel swiftly and efficiently uphill while the EST All-Mtn Rocker provides versatile performance on the
journey down.</td>
</tr>
將答案標記爲已接受。 – dgrogan