When it comes to CSS, I wouldn't call myself an expert;
My question is: is there a way for a div
tag to inherit dimensions from specific table
rows based on their class
or id
?
For instance: Imagine we have a table with multiple rows, but we don't have the exact size of a particular row. However, we do know the id/class of these rows. Can we position a div tag absolutely within the table based on this id/class to span across 2 rows from start to finish?
Does anyone have any resources or code tips on how to achieve this?
<table>
<col width="9%">
<thead>
<tr>
<th colspan="2"> </th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="2"> </th>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<th rowspan="2"> </th>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</tbody>
</table>
I am looking for something similar to this: