CSS Property: line-height
[this page | pdf | back links]
The CSS (CSS1) line-height property identifies the height
of lines of text.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
length
|
Line height is a fixed
height defined by this CSS
length
|
|
number
|
Line height set as a
multiple of the current font size
|
|
%
|
Line height set as a
percentage of the current font size
|
|
normal
|
(default value). Line
height is normal (given the relevant font size)
|
|
Default Value:
|
normal
|
|
JavaScript syntax:
|
e.g. object.style.lineHeight="15px"
|
|
Inherited:
|
Yes
|
|
Animatable:
|
Yes
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties