HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
what does it mean?
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
beginner.html



Joined: 02 Aug 2007
Posts: 365

PostPosted: Mon May 12, 2008 7:14 am     what does it mean? Reply with quote

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

PostPosted: Mon May 12, 2008 2:10 pm     re Reply with quote

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

PostPosted: Mon May 12, 2008 3:44 pm     Reply with quote

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

PostPosted: Mon May 12, 2008 3:47 pm     re Reply with quote

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: 1283
Location: Biloxi, MS

PostPosted: Wed May 14, 2008 10:31 pm     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial