Name

lineHeight — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

The height of the inline box (the box holding one physical line of content). See the line-height style attribute in Chapter 10 for details on browser quirks and inheritance traits of different types of values.

Example

document.all.tight.style.lineHeight = "1.1em"

Value

A string of a length value (with unit of measure) or normal.

Default

normal

Get Dynamic HTML: The Definitive Reference 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.