OZONE Asylum
FAQ
What kind of fonts can or should I use in my website?
This page's ID:
4964
Search
QuickChanges
Forums
FAQ
Archives
Register
You are editing "What kind of fonts can or should I use in my website?"
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
[b]FONTS, THE WEB AND INSECTS INSIDE YOUR BRAIN...[/b] by [internallink=4803]Dracusis[/internallink] So, what kind of fonts can or should you use in your website(s)? Well first and foremost, fonts that you can be sure the viewer will have installed on their system! That's the golden rule of font setting for the web. Don't ever forget it! [b]A quick list of common fonts across different platforms are:[/b] - Arial - Helvetica - Courier - Symbol - Verdana - Georgia - Comic Sans - Webdings Now you might be saying: "My god, those fonts sucks!" And you'd be right. But that's just the way it is so live with it. Actually there are ways to embed font's in a web page but it's so browser and platform specific it makes me sick so I'm not even going to link to it. If you really must know then you ~could~ do a google search for "Font Embedding in Webpages". But if I catch you using that horrid thing I'll slap you silly! If a user doesn't have a font installed on their system then the browser will revert to it's default font. This can often ruin the effect of your pages so it's best to stick with common fonts and work your designs so it fits in with them. Another good tip when it comes to specifying fonts for your website is to specify a series of them that match the look and feel your after. There are several ways to do this depending on how your setting fonts in your webpage. The old HTML 4.0 method using the <font> tag: [small][b] <font face="Tahoma, Geneva, Verdana, Arial, Helvetica">You text Here</font>[/b][/small] Or if your up to speed on your XHTML spec's then you'd be wanting a CSS rule like this: [small][b]font-family:Tahoma, 'Trebuchet MS', Geneva, Verdana, Arial, Helvetica, Sans-serif[/b][/small] The last one in the CSS example [b]Sans-serif[/b], is a font family classification. It's not a font but rather the default Sans-Serif type. What this does is set the font type to the default Sans-Serif font which is specified by the users browser. This is specified at the end of the CSS rule for a couple of reasons: - We can't be sure what Sans-Serif font the browser will use as these settings can be changed by the user. - Some older browseres while supporting CSS don't support general font family classifications like this. - Putting this at the end of the rule means it will only be used if the user has none of the other font's specified before it. Also remember to put [b]'[/b]quotes[b]'[/b] around any font names that contain spaces when using CSS rules otherwise the browser will think the rule ends at the space and get all ugly on you. [b]Possible font family classifications:[/b] - Serif (Times New Roman) - Sans-Serif (Helvetica and Arial) - Monospace (Courier New) - Cursive (Apple Chancery) - Fantasy (Webdings) [small][b]NB:[/b] Not all of these font family classifications are supported by all browsers, nor are the example fonts given assured to be the default font for that classification.[/small] ________________ Related FAQ's: [small] - [internallink=4638]Fonts[/internallink] - This FAQ's section on fonts - [internallink=4941]What are "Screen Fonts" or "Pixel Fonts" and how do they differ from other fonts?[/internallink] - [internallink=4641]Do you know any good resources for free fonts?[/internallink] - [internallink=4639]I'm looking for Sci-Fi, Horror, Movie, etc. fonts can you help?[/internallink] [/small] [small][i](Added by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Dracusis]Dracusis [/url] on Tue 21-May-2002)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Tue 21-May-2002)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Dracusis]Dracusis [/url] on Tue 21-May-2002)[/i][/small] [small][i](Edited by: [url=http://www.ozoneasylum.com/cgi-bin/ubbmisc.cgi?action=getbio&UserName=Emperor]Emperor [/url] on Sun 01-Sep-2002)[/i][/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »