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
With 'height' we can set the height of an element, either in absolute (px) or in relative (%, em) units. Negative valuees are not allowed.
height:150px;
Height in relative units (like height:50%; doesn't work in most browsers,
at least not if there is no parent element, that does have an absolute height.
Like here: The red box has the height set to the relative height of 40%. It does work, since the parent (containing)
element has the absolute height set to 200 pixels.
Here the red box has the height still set to 40%. But since the parent element has set the height to a relative height, too (100%), it doesn't work: It doesn't know from what to calculate that percentage of height.