Russ Weakley
25-Nov-02
How do you style your font family names that contain
whitespace? To quote or not to quote. The answer is
available at WC3.
"Font family names containing whitespace should
be quoted. If quoting is omitted, any whitespace characters
before and after the font name are ignored and any
sequence of whitespace characters inside the font
name is converted to a single space."
So, if you do not put quote marks around a font family
name that contains whitespaces, you may end up with
an incorrect font name like "TimesNewRoman"
instead of "Times New Roman". Here is the
correct way to style a font family with whitespace
in the name:
{ font-family : Georgia, "Times New Roman",
serif; }