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
CSS: What is expected here.....
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
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:
to
and account for those people who don't have tahoma, arial, or helvetica installed on their computer.
Mac
So to avoid the warning, change:
Code: Select all
font-family : Tahoma, Arial, Helvetica;Code: Select all
font-family : Tahoma, Arial, Helvetica, sans-serif;Mac