May 2003
Intermediate to advanced
480 pages
10h 9m
English
By default, the browser will determine the amount of vertical space allocated to a line by simply taking the tallest element (or font). The line-height property is what is used in this process, and setting it lets you artificially increase, decrease, or arbitrarily set the line height for an element. If more than one element appears on a line, the one with the highest line-height property still determines the rendered height of the line.
Inherited: Yes, but see below for differences in inheritance rules based on the value format.
See also: Section B.37font and Section B.39font-size
This property supports any of the following formats for its value:
normal
This constant is the initial value of this property, ...
Read now
Unlock full access