I would like to build tableone that has four columns: two with text and two empty. I want the blanks to expand as much as possible, and those whose text was dense.
The following snippet shows this table: the width of the columns is probably weighted with the size of the text inside.
table,
td {
border: solid;
border-collapse: collapse;
}
<table style="width: 100%">
<tr>
<td>This is some text</td>
<td>And some more</td>
<td></td>
<td></td>
</tr>
</table>
Run codeWhat can be done to turn this into a table like

where will the text be tightly surrounded by the cell, and the empty ones expanded?
source
share