Availability: |
| |||||
Property/method value type: | String primitive | |||||
JavaScript syntax: | N | myJSSTag.verticalAlign | ||||
N | myJSSTag.verticalAlign = anAlignment | |||||
CSS syntax: | vertical-align: anAlignment | |||||
HTML syntax: | <... VALIGN="..."> | |||||
Argument list: | anAlignment | A vertical alignment control |
The JSSTag.verticalAlign property corresponds to the vertical-align CSS property.
This property controls the vertical alignment of an element. It provides a way to raise or lower individual letters to create subscript or superscript effects. The technique can be used to move images relative to a line of text.
The following values are meaningful for this property:
baseline
sub
super
top
text-top
middle
bottom
text-bottom
In addition you can specify a percentage value and a length value in various units of measure.
The default value for this property is "baseline".
This value is not inherited from its parent container element.
Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0.
See also: | style.verticalAlign |
Prev | Home | Next |
JSSTag.textTransform | Up | JSSTag.whiteSpace |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |