我想让整个行中的边框具有指定的边框,但是当我使用边框样式属性时它不像预期的那样工作。但它正在使用outline属性。下面的代码片段:边框不能像预期的那样工作tr
table.table, table.table * {
\t \t \t border: none !important;
\t \t }
table.price-table thead tr {
\t \t \t border: 10px solid blue;
\t \t \t outline: thin solid red;
\t \t }
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/>
<table class="table price-table">
<thead>
<tr>
<th>Ticket Type</th>
<th>Price</th>
</tr>
</thead>
<tbody>
<tr data-ticket-id=1>
<td class="category-ticket">Adult</td>
<td class="price-ticket">RM 20</td>
</tr>
<tr data-ticket-id=3>
<td class="category-ticket">Child</td>
<td class="price-ticket">RM 15</td>
</tr> \t
</tr> \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t
</tbody>
</table>
我也不需要它。我正在做测试。谢谢你的收获。很有帮助! – geckob