Letter spacing
Initial value: normal for: all elements
Inheritance: percentage: not applicable
Media: visual version: CSS 1
Compatibility: IE4+ NS6+
Basic grammar: letter spacing: normal | length
Syntax value:
Normal:? Default value. Default interval length:? A length value consisting of a floating-point number and a unit identifier. Negative values are allowed. See unit of length.
Instructions for use:
Retrieves or sets the spacing between words in an object. This property adds the specified interval after each word, but the last word will be excluded. Character spacing is affected by alignment adjustment. For the currentStyle object, this property is read-only. It is readable and writable by other objects. The corresponding script feature is letter spacing.
row height
Initial value: normal for: all elements
Inheritance: percentage: according to the font size of the element
Media: visual version: CSS 1
Compatibility: IE4+ NS4+
Basic Syntax: Line Height: Normal | Length
Syntax value:
Normal:? Default value. Default line height length:? Percent Number | A length value consisting of a floating-point number and a unit identifier, which is allowed to be negative. Its percentage value is based on the height of the font. See unit of length.
Instructions for use:
Retrieves or sets the row height of an object. That is, the distance between the bottom of the font and the top inside the font. The line height is the distance between the downward extension of the font and the top of the internal height of the font. Negative line height can be used to achieve shadow effect. If the formatted line contains multiple objects, the maximum line height will be applied. In this case, the attribute cannot be negative. For the currentStyle object, this property is read-only. It is readable and writable by other objects. The corresponding script feature is lineHeight.