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
2009-05-23 18:24:21
Right, that's why I said "you should really omit the quotes if it's only one word."
Daniel Straight
2009-05-23 18:27:14
Thank you very much!
William
2009-05-23 18:30:03
+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
2009-05-23 18:27:49