Jump to content

Template:Vertical align rows/doc

From Wikipedia, the free encyclopedia

Adding style=vertical-align:top or style=vertical-align:bottom to a table doesn't align its rows, but the table itself. This template vertical aligns all rows in a table.

Usage

[edit]
{| class=wikitable
| A || B1<br>B2 || C1<br>C2<br>C3
|}
A B1
B2
C1
C2
C3
{{vertical-align}}
{| class="vertical-align-top wikitable"
| A || B1<br>B2 || C1<br>C2<br>C3
|}
A B1
B2
C1
C2
C3
{{vertical-align}}
{| class="vertical-align-bottom wikitable"
| A || B1<br>B2 || C1<br>C2<br>C3
|}
A B1
B2
C1
C2
C3