JSSTag.whiteSpace (Property)

The control of white space collapsing or retention in the object.

Availability:

CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.whiteSpace
NmyJSSTag.whiteSpace = aControl
CSS syntax:white-space: aControl
Argument list:aControlA whitespace preservation control

The JSSTag.whiteSpace property corresponds to the white-space CSS property.

This property controls how tabs, newline characters and additional white space inside an element is presented. The following values are available:

The default value for this property is "normal".

This value is inherited from its parent container element.

Warnings:

See also:style.whiteSpace