我試圖處理一個表裏面的底線(我希望削減他們有點向右)處理一個表裏面的底線
這裏是我的表碼:
<table class="reportTable">
<thread>
<tr>
<th>firstColumn</th>
<th>secondColumn</th>
<th>thirdColumn</th>
</tr>
</thread>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>11</td>
<td>22</td>
<td>33</td>
</tr>
<tr>
<td>111</td>
<td>222</td>
<td>333</td>
</tr>
</tbody>
</table>
這裏是我的CSS代碼:
.reportTable th,td{
border-bottom: 1px solid #E7E7E7;
border-right:16px solid transparent;
}
是你有沒有工作?它似乎是給我的。 – trnelson 2014-10-31 16:54:48
nope我想處理右邊框並在列之間添加更多空格,當列的寬度設置爲特定數字時,它不起作用 – 2014-10-31 16:56:08
更準確......如果您嘗試添加更多空格(改變右下方的像素數量,它只會增加列的寬度,而不會讓每兩列之間的空間變大 – 2014-10-31 16:58:19