This is the print version of http://www.quackit.com/css/properties/css_line-height.cfm
The CSS line-height property is similar to leading in desktop publishing - it determines the "line height". This results in lines of text appearing closer together or further apart.
Also see the letter-spacing and word-spacing properties.
Tip: Use CSS font to set the most common font properties in one go.
| Syntax: | line-height: <value>; |
| Possible Values: |
|
| Initial Value: | normal |
| Applies to: | All elements |
| Inherited: | Yes |
| Media: | Visual |
| Example: |
p { line-height: 180%; }
|
| Try it yourself! |
|