◇◆
valign Vertical Alignment
Vertical alignment
OPTIONAL on many elements; click for list and usage
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. |
Tagged Sample
Table columns whose contents align flush with the top of each table cell
... <table xml:id="mul-table1" frame="box"> ... <colgroup> <col align="right" valign="top"/> <col valign="top"/> <col align="center" valign="top"/> </colgroup> <thead> ... </thead> <tbody> <tr valign="top"> <td rowspan="8"><emphasis role="bold">Vegetables</emphasis></td> </tr> ... </tbody> </table> ...