User:CiaPan/example of autoextending table cell
Appearance
A table with a second cell in a first row being too long and looking too short:
x |
abc def |
y |
The table with the cell set to rowspan=2:
x |
abc def |
y |
Same table after adding two more rows:
x |
abc def |
y | |
z | |
zz |
and with the cell modified to rowspan=4:
x |
abc def |
y | |
z | |
zz |
And this is a table with a single row and two columns – the first cell contains a nested table.
|
abc def |
After adding some rows to the internal table, the right part (i.e. the second cell of a row of the external table) automagically expands vertically to fit the row's height.
|
abc def |