-
Tables
I don't know whether this is a vault thing or vb but I have a couple of pages that use tables extensively. Years down the left column and data pertaining to each year in cells in the respective rows. What I want is for the text to expand downwards within each data cell but at the moment the cell is expanding upwards and downwards to accommodate the text. This results in a bit of a mess as data for one year could get confused with that in the rows above and below. Anyone know how to correct this?
-
You need to apply styles to the desired cells:
vertical-align: top -- pins the text to the top of the cell
vertical-align: bottom -- pins the text to the bottom of the cell
vertical-align: middle -- this is the default, the text is centered between top and bottom
You can do this by applying style attributes to the cells in question:
Code:
[table]
|-
| style="vertical-align: top" | Keep this at the top
| This text
spans multiple
lines
[/table]
-