Extensible HyperText Markup Language

XHTML.com recommends: PSD to HTML Slicing Service

line-height

Definition

The line-height property is used to modify the spacing between lines of text.

Example

  1. p {line-height: 1.2em}

Characteristics

Possible values

normal
Use a value appropriate for the font.
number
Line height will be this number multiplied by the font size.
length
A specific length.
percentage
Line height will be this percentage multiplied by the font size.
inherit
Use the same computed value as the parent element for this property.

Default value

normal

Applies to

All elements

Inherited

Yes

See also