...

View Full Version : font-family



Aurora.Light
05-08-2011, 05:05 AM
what does the 'Helvetica Neue' or "Blah blah" mean.

ex:

font-family: 'helvetica neue', Arial, Helvetica, sans-serif;

why do they use ' ' and " "

sherlockturtle
05-08-2011, 05:09 AM
try it

Aurora.Light
05-08-2011, 05:17 AM
yeah no duh it does absolutely nothing. im wondering if its for browser support

VIPStephan
05-08-2011, 10:07 AM
The quotes are for multi-word font names, i. e. names with spaces in them, to denote that it’s one string. Don’t know if it hurts to leave the quotes but it’s better practice, I guess, since that’s how it’s done in other programming languages, too.

kenshn111
05-08-2011, 12:00 PM
Oooh, I've always thought that quotes tells the browser to use this as its main font and if it doesn't exist, use the alternatives.

Apostropartheid
05-08-2011, 08:41 PM
Oooh, I've always thought that quotes tells the browser to use this as its main font and if it doesn't exist, use the alternatives.

No; precedence comes by ordinal position in the list.

CHEWX
05-08-2011, 09:12 PM
No; precedence comes by ordinal position in the list.

Oh, learn something new everyday.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum