Quote:
Originally Posted by Chang
Example:
Code:
.someclass {
font-size: "20px"; /* works perfectly */
}
.someclass {
font-family: "Baskerville"; /* works perfectly */
}
.someclass {
font-family: "Baskerville, Arial"; /* doesn't work */
}
|
IMHO, the last line doesn't work because you put the closing quote after the second font name. AFAIK, quotes are only required if the font name consists of two or more words. E.g. "Times New Roman".
Code:
font-family: "Baskerville", Arial; /* should work */
However, the quotes around Baskerville are redundant.