JSSTag.lineHeight (Property)

The line height spacing for an object. This is the distance between the baselines of two adjacent lines of text.


CSS level - 1
JavaScript - 1.2
Netscape - 4.0
Property/method value type:String primitive
JavaScript syntax:NmyJSSTag.lineHeight
NmyJSSTag.lineHeight = aLineHeight
CSS syntax:line-height: aLineHeight
Argument list:aLineHeightA spacing between lines of text

The JSSTag.lineHeight property corresponds to the line-height CSS property.

This value specifies the distance between the baselines for adjacent lines; more accurately, it indicates the minimum distance, because an object larger than the line height value will cause lines to be leaded further apart to accommodate the item within the display.

The following values are meaningful in this property:

The default value for this depends on the user preference settings for font sizes.

This value is inherited from its parent container element.


See also:Measurement units, style.lineHeight