Line-Height

Set the line height. Line height will indirectly affect the leading or half-leading. Leading is the distance between successive lines of type.

Syntax
      line-height: height | normal | inherit ;

height - A number used to set the line height relative to the font-size, so if the font is 10px and line height is 1.5 then each line will be 15px high.
A fixed line height can also be set in px, pt, cm, % or em but this is not recommended for any element that may have descendant elements - the decendants would inherit the same size as the parent instead of a line-height relative to their own font-size.
normal - the user agents default line-height.
inherit - inherit from the parent element.

Examples:
h1 { line-height: 1.0; }
#ss64id { Line-height: 1.5
; }
.ss64class { line-height: 1.2; }

Try it:

Type is a beautiful group of letters, not a group of beautiful letters.
If beauty of music is between the notes, beauty of typography is in the white spaces.

(CSS 1) Browser Support: All major browsers, IE 8+

“Beauty itself is but the sensible image of the Infinite” ~ Francis Bacon

Related:

font-size - Font size of text


© Copyright SS64.com 1999-2014
Some rights reserved