Property Value

Use the VAlign property to specify the vertical alignment of the content in the cells of a row in an HtmlTable control.

Note

Setting this property affects all cells in a row of a table represented by an instance of the HtmlTableRow class. To apply an alignment attribute to a single cell of a row, set the VAlign property for that cell.

The following table lists the values that can be used for this property.

Value

Description

Top

Aligns the contents of a cell with the upper edge of the cell.

Middle

Aligns the contents of a cell in the center of the cell.

Bottom

Aligns the contents of a cell with the lower edge of the cell.

Note

You can also use BaseLine as a value for this property. However, not all browsers support this feature.