B.58. line-height

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

B.58.1. Value

This property supports any of the following formats for its value:

normal

This constant is the initial value of this property, ...

Get HTML Utopia: Designing Without Tables Using CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.