tr Object
The vAlign property sets or returns the vertical alignment of the content within a table row.
Set the vAlign property:
Return the vAlign property:
| Value | Description |
|---|---|
| baseline | Content is aligned to the baseline. The baseline is the "imaginary line" which most letters "sit" on, in a line of text. The baseline value sets the row so that all the table data share the same baseline. Often this has the same effect as the bottom value. However, if the fonts are in different sizes, baseline looks better. |
| bottom | Content is aligned to the bottom |
| middle | Content is aligned to the middle. This is default |
| top | Content is aligned to the top |
![]()
The vAlign property is supported in all major browsers.
Change the vertical alignment of the content within a table row:
tr Object
Your message has been sent to W3Schools.