I have a table like this:
<table>
<caption>Caption:</caption>
<thead>
<tr>
<td style="width: 65%;">A</td>
<td class="center" style="width: 5%;">B</td>
<td style="width: 15%;">C</td>
<td style="width: 15%;">D</td>
</tr>
</thead>
<tbody>
<tr>
<td >aaa</td>
<td>bbb</td>
<td>ccc</td>
<td>ddd</td>
</tr>
</tbody>
</table>
With styles like this:
table {
width: 100%;
margin-top: 1em;
border-collapse: collapse;
border: 1px solid #111;
}
table th, table td {
vertical-align: middle;
}
table td {
border: 1px solid #888;
padding: .2em .4em;
}
What I have trying to achieve is to have a border around the table of a different color than the border inside the table.
I want the outside border to be darker (#222) than the inside border (#888).