Page 1 of 1

CSS: What is expected here.....

Posted: Mon Oct 27, 2003 5:22 am
by Fredix
The CSS validator gives me a warning saying:
"font-family: You are encouraged to offer a generic family as a last alternative"

and this is my CSS:

"font-family : Tahoma, Arial, Helvetica;"

Does anyone know what I should add as the last element?

thx

Posted: Mon Oct 27, 2003 5:25 am
by twigletmac
You can add sans-serif or serif, for the web you probably want a sans-serif generic alternative (example: arial, verdana) instead of a serif one (example: times new roman).

So to avoid the warning, change:

Code: Select all

font-family : Tahoma, Arial, Helvetica;
to

Code: Select all

font-family : Tahoma, Arial, Helvetica, sans-serif;
and account for those people who don't have tahoma, arial, or helvetica installed on their computer.

Mac