OZONE Asylum
FAQ
Can you explain what alternative fonts to put in the CSS style font-family?
This page's ID:
5268
Search
QuickChanges
Forums
FAQ
Archives
Register
You are editing "Can you explain what alternative fonts to put in the CSS style font-family?"
Who can edit an FAQ?
Anyone registered may edit an FAQ.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
It is best to group styles like: [QUOTE] body { font-family: verdana, arial, helvetica, sans-serif; }[/QUOTE] rather than just offer one alternative [QUOTE] body { font-family: verdana; }[/QUOTE] Trib gave a good overview of the alternative fonts and how to group them: [quote]Basically, I always try to follow these rules ... the first is your own preference if the browser can find it the second is a standard font of the same type, typically found on the majority of boxes the third is the generic family, just in case there's nothing else. A list of the core fonts supplied by Micro$oft can be found at [URL=http://www.jegsworks.com/webfonts/]this location[/URL] and a very simple explanation of font families can be found [URL=http://www.htmlcodetutorial.com/character_famsupp_194.html]here[/URL]. My advice ... stick to for newspaper type characters - Derivatives of times roman, garamond etc. and end your list with [b]serif[/b] for modern (like on this forum) - Derivatives of verdana, arial, helvetica, and end your list with [b]sans-serif[/b] for non-proportional spacing - Derivatives of courier, terminal etc. and end your list with [b]monospace[/b] [code]these are non-proportional or monospace characters[/code] in fact, if you don't really care which family member (i.e. which SPECIFIC font) your browsers use - beyond making sure they fit in with a general theme - you can just use the family generic names [b]serif[/b] or [b]sans-serif[/b] or [b]monospace[/b] and let the browser at the other end determine which actual font it uses, it will work.[/quote] I'd also recommend using a Mac alternative (e.g. sans-serif: Helevtica) before the generic font-family (as given in the first example at the top of this page. --------------------------- Relevant threads: [url=http://www.ozoneasylum.com/Forum8/HTML/000568.html]font-family[/url] --------------------------- Relevant links: [url=http://www.dejeu.com/web/tools/type/sizes.asp]Font Size Samples[/url] - examples of the most common fonts. ____________________ [internallink=4626]Emperor[/internallink] [small][i](Added by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Mon 28-Apr-2003)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Mon 28-Apr-2003)[/i][/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »