line-height
Sets the distance between lines in the object.
sHeight
Variant that specifies or receives one of the following values:
normal | Default. Default height. |
height | Floating-point number, followed by an absolute units designator (cm, mm, in, pt, or pc) or a relative units designator (em, ex, or px). |
percentage | Integer, followed by a percent sign (%). The value is a percentage of the height of the parent object. |
The property has a default value of normal. The cascading style sheet property is not inherited.
The following example uses the line-height property to control the height of paragraph lines. This example uses the P and BLOCKQUOTE elements as selectors in an embedded (global) style sheet to change the distance between the lines in all P and BLOCKQUOTE element objects:
<style>
p {line-height:8mm}
blockquote {line-height:4mm}
</style>
This property is defined in Cascading Style Sheets (CSS), Level 1 (CSS1).
A, ADDRESS, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, CUSTOM, DD, DEFAULTS, DFN, DIV, DL, DT, EM, FIELDSET, FORM, HN, HTML, I, IMG, INPUT TYPE=BUTTON, INPUT TYPE=CHECKBOX, INPUT TYPE=FILE, INPUT TYPE=IMAGE, INPUT TYPE=PASSWORD, INPUT TYPE=RADIO, INPUT TYPE=RESET, INPUT TYPE=SUBMIT, INPUT TYPE=TEXT, LI, OL, P, S, SELECT, SPAN, SUB, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP