Jump to content

User:CiaPan/example of autoextending table cell

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by CiaPan (talk | contribs) at 22:12, 13 January 2015. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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.

x
y
z

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.

u
v
w
x
y
z

abc


def