I’m trying to replicate the middle columns and rows in between, having 50% the height of the standard row height, to look like the image below:
I am trying to nest them and adjust but it’s not working as it should, they don’t respond as in the picture, with the middle column with two rows: 1 above 100% wide and two columns below, they all span side by side, and trying to adjust width is not working either (both rows will share the full height being 50% each, of the main row).
Can someone help with how would be the best to solve this part?
<tr>
<td>I FALTET NEDAN FÅR ANTECKNINGAR INTE GÖRAS...</td>
<td>
<p>Belopp (får inte ändras)</p>
<td>
<p>Svenska kronor</p>
</td>
<td>
<p>öre</p>
</td>
</td>
<td colspan="3">I FALTET NEDAN FÅR ANTECKNINGAR INTE GÖRAS..</td>
</tr>
I am trying to nest them and setting up the width with css but it’s not working.
2
Answers
There are several ways to achieve that.. anyway one approach could be to model the middle col as a new table, since you cannot nest
td
elements. The other could be having one single table.Nested tables:
Single table:
You need to managed like this