Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

VALIGN Attribute | vAlign Property


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

Syntax

HTML<ELEMENT VALIGN = sAlign... >
Scriptingobject.vAlign [ = sAlign ]

Possible Values

sAlignString that specifies or receives one of the following values.
middleDefault. Aligns the text in the middle of the object.
baselineAligns the base line of the first line of text with the base lines in adjacent objects.
bottomAligns the text at the bottom of the object.
topAligns 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

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

Applies To

COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR

See Also

verticalAlign

     Free MP3 Download | Car Insurance | Long Island | Hotel Las Vegas | Loan
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp