[WEB4LIB] CSS validation
Eric (Eric Rogers)
eric at kclibrary.org
Tue Jan 11 16:24:28 EST 2000
Have you tried sans-serif (with an S) instead of san-serif? It looks to me
like it's not recognizing the generic family because of a typo.
FWIW, if this is a public web page it's usually a good idea to add helvetica
and arial after verdana. Most people will have one of those two, but not
necessarily verdana. sans-serif will catch all of the others.
--
Eric Rogers
Internet Services Administrator, Kansas City Public Library
eric at kclibrary.org - http://www.kclibrary.org
-----Original Message-----
From: John Creech [mailto:creechj at mumbly.lib.cwu.edu]
Sent: Tuesday, January 11, 2000 3:02 PM
To: Multiple recipients of list
Subject: [WEB4LIB] CSS validation
Web gurus,
I am still thrashing w/ CSS and am stumped. I have a style sheet that
validates at the W3C validator, but I keep getting one warning that I
can't shake. I've waded through most of the warnings and have fixed them,
but this one I don't get. Say I want to declare:
H1
{
font-family: Verdana, "san-serif";
font-size : 20pt;
margin-top : 1em;
color: #550000;
background : transparent;
text-align: center;
}
The warning I get is " You are encouraged to offer a generic family as a
last alternative : H1" - anybody up for explaining this? TIA.
John Creech
Electronic Resources & Systems Librarian
Central Washington University Library
400 E. 8th Ave. | Ellensburg, WA 98926 |
office - 509-963-1081 || fax - 509-963-3684
creechj at www.lib.cwu.edu
More information about the Web4lib
mailing list