verticalAlignverticalAlign*
*Contents  *Index  *Topic Contents
*Previous Topic: value
*Next Topic: visibility

verticalAlign

Description

Sets or retrieves the vertical positioning of the element.

Syntax

object.style.verticalAlign[ = verticalAlign]

Remarks

The values for verticalAlign are shown below:
subVertically aligns text to subscript.
superVertically aligns text to superscript.
topVertically aligns contents of element supporting VALIGN to top of element.
middleVertically aligns contents of element supporting VALIGN to middle of element.
bottomVertically aligns contents of element supporting VALIGN to bottom of element.
baselineAligns contents of element supporting VALIGN to baseline.
text-topVertically aligns text of element supporting VALIGN to top of element.
text-bottomVertically aligns text of element supporting VALIGN to bottom of element.

The property has read/write permission.

Applies To

HTML Tags CAPTION, COL, IMG, SPAN, TABLE, TBODY, TD, TH, THEAD, TFOOT, TR
Scripting style

CSS Attribute

vertical-align


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.