- introducing commas to separate font families, e.g.:
font-family: new century schoolbook, serif;
- quoting font familiy names with spaces in them, e.g.:
font-family: "new century schoolbook" serif;
Both these would solve the problem for the 'font-family' property, but
only the latter would work in the compound 'font' property. E.g., for the
hypothetical font family 'best in bold':
font: 12pt/14pt best in bold
Here, it would be ambigous if 'bold' is a part of the font family name
or a value to the 'font-weight' parameter. Unless better solutions are
suggested, I'll add quoting of font family names to the next version
of the specification.
[1] http://www.w3.org/pub/WWW/TR/WD-css1-951222.html
Regards,
-h&kon
Hakon W Lie, W3C/INRIA, Sophia-Antipolis, France
http://www.w3.org/People/howcome [email protected]