JSSTag.textIndent (Property)

The indentation of text in the object.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.textIndent
NmyJSSTag.textIndent = anIndent
CSS syntax:text-indent: anIndent
Argument list:anIndentA value to indent the first line of text

The JSSTag.textIndent property corresponds to the text-indent CSS property.

This value is used to indent the first line of text in the styled element.

The value is numeric but can be specified in several ways:

The default value for this property is 0, meaning no indent at all.

This value is inherited from its parent container element.


See also:Measurement units, style.textIndent