August 1999
Intermediate to advanced
1488 pages
72h 53m
English
document.ids.idName.lineHeightThe lineHeight property specifies the distance between two lines that are next to each other. Using dot notation, the property is associated with the ID called idName.
There are four types of values that are valid for the lineHeight property: number, length, percentage, and the value normal.
When a number is given without a unit of measure, it is multiplied by the font size of the element to give the line height. Length is specified by including a unit of measure after the number. A percentage is designated by including a percent sign (%) after the number to represent the line height as it relates to its parent.
Read now
Unlock full access