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:
sub Vertically aligns text to subscript. super Vertically aligns text to superscript. top Vertically aligns contents of element supporting VALIGN to top of element. middle Vertically aligns contents of element supporting VALIGN to middle of element. bottom Vertically aligns contents of element supporting VALIGN to bottom of element. baseline Aligns contents of element supporting VALIGN to baseline. text-top Vertically aligns text of element supporting VALIGN to top of element. text-bottom Vertically 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.