 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
beginner.html

Joined: 02 Aug 2007 Posts: 365
|
Posted: Mon May 12, 2008 7:14 am what does it mean? |
|
|
|
When you have :
| Code: |
font-family : "Arial", Verdana, Trebuchet MS;
|
The Arial is the main font, as I understand. What do the other two fonts do? Can you use them as well? |
|
quartzy
Joined: 26 Dec 2007 Posts: 405
|
Posted: Mon May 12, 2008 2:10 pm re |
|
|
|
| you have to name many fonts in case the browser user does not have the font specified first - installed.But most people have arial so you should be OK. |
|
beginner.html

Joined: 02 Aug 2007 Posts: 365
|
Posted: Mon May 12, 2008 3:44 pm |
|
|
|
| So, if Arial isn't available, I should go to Verdana or Trebuchet MS, if the browser doesn't have either installed? |
|
quartzy
Joined: 26 Dec 2007 Posts: 405
|
Posted: Mon May 12, 2008 3:47 pm re |
|
|
|
| yes, thats right, but you should add either sans serif, or serif, then if none of the fonts are installed on someones browser they will at least have either a serif or sans serif font. |
|
PayneLess Designs

Joined: 28 Feb 2007 Posts: 1289 Location: Biloxi, MS
|
Posted: Wed May 14, 2008 10:31 pm |
|
|
|
These are the recommended font families that normally are found on computers:
Recommended Fonts
BTW, when listing fonts with more than one word in the name, you must put quote marks around them. Example:
| Code: |
| .oldenglish { font-family: Junicode, Cardo, "TITUS Cyberbit Basic", "Doulos SIL", Gentium, "Arial Unicode MS", serif } |
A single quote can be used, too:
| Code: |
| .oldenglish { font-family: Junicode, Cardo, 'TITUS Cyberbit Basic', 'Doulos SIL', Gentium, 'Arial Unicode MS', serif } |
They don't need to be in caps either.
The fonts are taken from left to right in the order that a viewer's computer can use to display your pages. I've just shown a special case of styling using fonts for Old English. If you are using a special font, more than likely a viewer is not going to have it. If you don't list the next preferred fonts, then their browser/system font will be used.
Only Microsoft and IE will use WEFT should you want to go that route.
Ron |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|