Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


VALIGN Attribute | vAlign Property

Sets or retrieves how text and other content are vertically aligned within the object that contains them.

Syntax

HTML Scripting
< ELEMENT VALIGN = sAlign ... >
object.vAlign [ = sAlign ]

Possible Values

sAlign String that specifies or receives one of the following values.
middle Default. Aligns the text in the middle of the object.
baseline Aligns the base line of the first line of text with the base lines in adjacent objects.
bottom Aligns the text at the bottom of the object.
top Aligns the text at the top of the object.

The property is read/write. The property has a default value of middle .

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties .

Standards Information

This property is defined in HTML 4.0 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

Platform Version
Win16:
Win32:
Windows CE:
Unix:
Mac:
 
COL , COLGROUP , TBODY , TD , TFOOT , TH , THEAD , TR
Home | Top | Website design | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.