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 - font-family
which font should be used (like 'Arial' or 'Times New Roman')
div{
font-family:arial, 'times new roman', serif;
}
you can add as many different fonts as you feel like, the idea is, that the browser reads the list, tries the first font, if it can't find the font, or if it can't find the character to be displayed in this font (like some Umlauts or so), then it will try the next one in the list, until it finds one that works. The last one should always be a generic font family that will always work, when everything else fails. That's 'serif', 'sans-serif', 'cursive', 'fantasy', and 'monospace' as general type. Obviously you should try to group fonts that look rather similar, or you will have very different fonts on different machines.
Try it out, change the font of the box above (let's see which font name you know from memory ;-)
You will have to click outside of the input box to activate the change...