JSSTag.textAlign (Property)

The text alignment within the object.

Availability:

CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Deprecated
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.textAlign
NmyJSSTag.textAlign = anAlignment
CSS syntax:text-align: anAlignment
HTML syntax:<... ALIGN="...">
Argument list:anAlignmentA text alignment control

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:

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.

Warnings:

See also:style.textAlign