Re: Serif fonts
by "John A. Lewis" <gleemax(at)myrealbox.com>
|
Date: |
Fri, 28 Sep 2001 17:44:17 -0500 |
To: |
hwg-style(at)mail.hwg.org, hwg-techniques(at)mail.hwg.org |
References: |
boeing |
|
todo: View
Thread,
Original
|
|
Friday, September 28, 2001, 5:06:59 PM, Ward wrote:
> If the font face is more than one word, it
> must be enclosed in quotes. As for capitalization,
> the generic family (serif, sans-serif, cursive,
> monospace or fantasy) should be in lowercase. My
> reference book shows the specific font name (Arial,
> Times) sometimes as lowercase and sometimes with
> a capital. Perhaps it doesn't matter? Maybe someone
> else has a definitive answer to that one.
The CSS2 spec on font family names [1]:
<family-name>
The name of a font family of choice. In the previous
example, "Baskerville", "Heisi Mincho W3", and "Symbol"
are font families. 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.
<generic-family>
The following generic families are defined: 'serif',
'sans-serif', 'cursive', 'fantasy', and 'monospace'.
Please see the section on generic font families for
descriptions of these families. Generic font family
names are keywords, and therefore must not be quoted.
Authors are encouraged to offer a generic font family as a
last alternative, for improved robustness.
[1] <http://www.w3.org/TR/CSS2/fonts.html#value-def-family-name>
--
Best regards,
John mailto:gleemax(at)myrealbox.com
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA