Menu Samaritan's Purse

LINE-HEIGHT

The line-height property specifies the minimal height of line boxes within the element.

SYNTAX

CSS

line-height: value;

JS

object.style.lineHeight = "value";

VALUES

<'line-height'> = normal | <number> | <length> | <percentage> | inherit
normal

Tells user agents to set the used value to a reasonable value based on the font of the element.

<number>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a sign (- or +). The last character may be succeeded by an exponent (e or E) and an integer.

<length>

Specifies the length using a number followed by a unit of measurement.

<percentage>

Specifies the percentage using a number followed by a percent sign (%).

inherit

Specifies the same value as the parent.

INITIAL

normal

EXAMPLES

LENGTH

NORMAL

NUMBER

PERCENTAGE

JS

INTERNAL

font

font-family

font-size

font-stretch

font-style

font-variant

font-weight

EXTERNAL

World Wide Web Consortium (W3C)