tags:

views:

222

answers:

2

I have my fonts set in my style.css (http://turquoisegrotto.com/style.css) and my website still seems to use sans serif. What is the problem here? My site: http://turquoisegrotto.com/

+4  A: 

The commas in your CSS font-family specification need to be outside the quotes.

For example:

font-family: "Arial", "Verdana", sans-serif; /* And you should really 
omit the quotes if it's only one word */

Not

font-family: "Arial, Verdana, sans-serif";

Otherwise, the CSS parser thinks you're looking for a font called "Arial, Verdana, sans-serif", which clearly doesn't exist.

Daniel Straight
Right, that's why I said "you should really omit the quotes if it's only one word."
Daniel Straight
Thank you very much!
William
+2  A: 

Try removing your "" from the font-family definition:

font-family: tahoma, sans-serif;

Like that. Only put the " around when you have multiple words such as

font-family: "mutiple word font name",tahoma, sans-serif;
xenon