你申请边境tr和th/td。因此从tr中删除边界是不够的。你也需要从th/td删除它,所以你可以调整你的CSS是这样的:
table,
tr,
td,
th {
border: 1px solid;
border-collapse: collapse;
}
.noBorder {
border: 0;
}
.noBorder th,
.noBorder td {
border: 0;
}
Men | ||||
---|---|---|---|---|
Brand | Model | Waist | Lengths | Quick Description |
Armada | ||||
Armada | Tracer 88 | 88 | 162, 172 | 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. |
另一个解决方案是使用colspan避免增加空细胞:
table,
tr,
td,
th {
border: 1px solid;
border-collapse: collapse;
}
.noBorder {
border: 0;
}
Men | ||||
---|---|---|---|---|
Brand | Model | Waist | Lengths | Quick Description |
Armada | ||||
Armada | Tracer 88 | 88 | 162, 172 | 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. |