The JSSTag.textAlign property corresponds to the text-align CSS property.
This property controls the justification of text between the left and right margins. The following values are supported:
left
right
center
justify
IN addition a string can be used to indicate a character to use for decimal alignment. This need not be a dot but can be other characters to present a neatly laid out tabular column.
The default value for this property depends on the user preference settings in the user agent.
This value is 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.textAlign |
Prev | Home | Next |
JSSTag.rgb() | Up | JSSTag.textDecoration |
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. |