我想隐藏表格单元格的边框。

如何使用css做到这一点?如图所示,我需要隐藏标记的边框(如第三行和第二行)。
发布于 2011-10-25 13:23:24
<style>
table {
border: 1px solid black;
width:100%;
}
table tr {
border: 1px solid black;
}
table th {
border: none;
}
</style>
<table>
<thead>
<tr>
<th class="col1">1</th>
<th class="col2">2</th>
<th class="col3">3</th>
</tr>
</thead>
</thead>发布于 2011-10-25 13:21:29
尝尝这个
border-collapse:collapse;发布于 2013-09-19 21:46:05
试一试
td.col1
{
border-left:0px;
}https://stackoverflow.com/questions/7884934
复制相似问题