CSS
table tr {border-bottom:1px solid #008999}
HTML
<table width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th scope="col">one</th>
<th scope="col">two</th>
<th scope="col">three</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Hello</th>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
Добавить:
table
{
border-collapse: collapse;
}
Иначе tr
не создаст ни одного блока.
Простой пример:
table { border: 5px solid #900; background: #fff; } tr { border: 5px solid #090; } td { background: #ccc; padding: 5px 0; } table + table { border-collapse: collapse; }
def ault
coll apse
Попробуйте указать
table tr th {border-bottom:1px solid #008999}
Затем вы можете использовать
table { border-collapse: collapse; }
table tr {border-bottom:1px solid #008999; }