-
1. Re: Why does my font family in CSS keep appearing with speech marks around it?
Ken Binney Dec 2, 2014 3:23 AM (in response to ScottHacel)When there are spaces in the name of a single font , the font name must be wrapped in quotation marks.
-
2. Re: Why does my font family in CSS keep appearing with speech marks around it?
ScottHacel Dec 2, 2014 3:37 AM (in response to Ken Binney)Ok so does this have anything to do with why it does not show on the browser?
-
3. Re: Why does my font family in CSS keep appearing with speech marks around it?
Ken Binney Dec 2, 2014 4:13 AM (in response to ScottHacel)You're welcome.
In order to display on a visitor's screen, that font must be already installed on their machine or you would have to use a font substitution technique such as Webfonts or Google Fonts etc..Here's a list of most commonly installed fonts.
CSS Font Stack: Web Safe and Web Font Family with HTML and CSS code.
-
4. Re: Why does my font family in CSS keep appearing with speech marks around it?
ScottHacel Dec 2, 2014 4:13 AM (in response to Ken Binney)I See! Thanks for the help! Why would it not show on my browser if its installed on my comp?
-
5. Re: Why does my font family in CSS keep appearing with speech marks around it?
Ken Binney Dec 2, 2014 5:48 AM (in response to ScottHacel)Scotty, it could be corrupt. Where did you download it from?
Try a fresh copy here:
-
6. Re: Why does my font family in CSS keep appearing with speech marks around it?
ScottHacel Dec 2, 2014 6:04 AM (in response to Ken Binney)It was on the computer originally, and applies to all fonts when they appear in speech marks. Baffled by it to be honest
-
8. Re: Why does my font family in CSS keep appearing with speech marks around it?
Nancy O. Dec 2, 2014 12:49 PM (in response to ScottHacel)When choosing fonts, it's best to use CSS font-families in case one or more fonts are not installed on the end user's system. If Times New Roman isn't available, the browser will use a backup font from the font-family. The generic default is serif.
h2 {
font-size: 26px;
font-family:
TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif;font-style: italic;
color: #898888;
}
Related links:
- CSS Font Stack: Web Safe and Web Font Family with HTML and CSS code.
- http://css-tricks.com/snippets/css/font-stacks/
Nancy O.
-
9. Re: Why does my font family in CSS keep appearing with speech marks around it?
ScottHacel Dec 3, 2014 2:47 AM (in response to Nancy O.)That has worked perfectly! thank you very much!





