本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.comwww.aptana.com共同劳动的成果。

line-height

Specifies line height of text in multiline elements, such as paragraphs.

Browser/User Agent Support

IENetscapeMozillaOperaSafari
3.0+4.0+1.0+4.0+1.0+

Usage

Example values: 14pt, 2 (for double-spacing), 110%, etc.

Values

*Specify a value for line-height that is not on this list.
inheritInherit the value from the parent element.
normalNormal line-height.

Remarks

You can also specify a fixed pixel or percentage value for line-height.

Availability

W3C CSS2

Related