valign attribute | vAlign property

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
1 out of 2 rated this helpful - Rate this topic

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

Syntax

HTML<element valign="p" ... >
JavaScript

p = object.vAlign

Property values

Type: String

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.

See also

col
colGroup
tBody
td
tFoot
th
tHead
tr
verticalAlign

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.