I have a table with some content inside. One of the elements is an
<a class="available">available</a>
, but it doesn't fill the entire row of the table.
Here is the HTML code:
<table with="100%" class="list_table">
<tbody>
<tr>
<td><a class="available">Available</a></td>
<td><a class="booked"><span>Nose to mouth</span><span>Frown Lines</span></a></td>
</tr>
</tbody>
</table>
And here is the CSS code:
.list_table thead th, .list_table tbody td { border:1px solid #D3D9CB; font-size:12px; position:relative !important;}
.available { background:#98AEB3; display:block; height:100%;}
.booked { background:#F2AE30; }
An image is also attached for reference.