Vertical Alignment

Vertical alignment

Attribute Values

In Elements

<col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr>
Value Meaning
baseline All cells in the same row as a cell whose valign attribute has this value should have their textual data positioned so that the first text line occurs on a baseline common to all cells in the row. This constraint does not apply to subsequent text lines in these cells.
bottom Cell data is flush with the bottom of the cell.
middle Cell data is centered vertically within the cell.
top Cell data is flush with the top of the cell.
Restriction: This attribute may be specified if the element is used.