valid css?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
generic family as a last alternative

when validating css files i get this message, but what does it actually

Re: valid css?

Quoted text here. Click to load it

When you list a set of fonts you're encouraged to include a generic
option last. The generic options are:

These are not specific fonts but are generic labels for broad
categories of fonts. If the browser doesn't have access to any of the
named fonts you have specified then it will use the generic option to
pick a font from of the same general type.

However, there are some problems with the generic options. Old
versions of IE ahd a bug whereby the generic serif was screwed up, and
even the latest versions of IE don't give the user the option to pick
which font is the generic fallback for each option (and the defaults
are often quite poor). Hence some people recommend not using these
generic options at all.

This is a warning from the validator, not an error.


"My theories appal you, my heresies outrage you,
 I never answer letters and you don't like my tie."  - The Doctor

Re: valid css?

tom watson wrote:

Quoted text here. Click to load it

David Dorward                              /

Re: valid css?

On Tue, 16 Sep 2003 17:28:08 +0100, "tom watson"

Quoted text here. Click to load it

Unfortunately, this warning is considered by many to be bogus (check
the archives of this group and c.i.w.a.s.). In any case, there is
nothing wrong with not offering a generic family as an alternative.

Nick Theodorakis
May cause drowsiness. Do not read while driving
or operating heavy machinery.

Site Timeline