How can I create a table like the above example using HTML and CSS. I've tried the following:
<table>
<tr>
<th>XXX</th>
<th>XXX</th>
</tr>
<tr>
<td>XXX</td>
<td>XXX</td>
</tr>
<tr>
<td>XXX</td>
<td>XXX</td>
</tr>
<tr>
<td>XXX</td>
<td>XXX</td>
</tr>
</table>
but it won't work. Can anyone help?