Warning: Undefined array key "StartingPoint" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 107 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 115 Warning: Undefined variable $WEB_ROOT in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Cannot modify header information - headers already sent by (output started at /customers/f/f/0/safaribears.de/httpd.www/content.php:107) in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 118 Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /customers/f/f/0/safaribears.de/httpd.www/content.php on line 169 CSS Tutorial - Text styles - line-height
okay, this is actually not supposed to be in this section, since it does not directly affect the text, it affects the lines, but oh well since we are already at it here we go:
div{
these two lines have
the rule line-height:0.5em;
these lines have
the rule line-height:1em;
which is the normal height.
these two lines have
the rule line-height:1.5em;
these lines have
the rule line-height:2em;
which is like adding one extra <br />in your text
these lines have also
the rule line-height:2em;
but since I also added the rule:
font-size:75%; the distance between the lines is
also 75% of the distance before.
}

Here only positive values are allowed. You can see how it fits right into the same kind of effect as with letter-spacing and word-spacing... I added the purple borders, just to make the effect more obvious. Letter spacing regulates the distance between single letters, word spacing between words, and line-height between lines.