Re: Why does the validator complain?

"webmaster@lilyland.net" <webmaster@lilyland.net> wrote:

> Why doew the validator complain as follows?
> (incl. Japanese)
> 
> URI : http://www.lilyland.net/css/main_ad.css
> Line : 0 font-family: 一般フォントファミリー名(generic font family)を最後の選択肢として付け加えておく事を推奨します

Change line 148:

	font-family: "Geneva", "Arial", "Helvetica", "san-serif";

to:

	font-family: "Geneva", "Arial", "Helvetica", sans-serif;

cf. http://www.w3.org/TR/REC-CSS2/fonts.html#value-def-generic-family

    ... Generic font family names are keywords, and therefore must not
    be quoted.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Tuesday, 17 February 2004 04:09:54 UTC