W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2004

Re: Why does the validator complain?

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Tue, 17 Feb 2004 18:09:53 +0900 (JST)
Message-Id: <20040217.180953.74726598.mimasa@w3.org>
To: webmaster@lilyland.net
Cc: www-validator-css@w3.org

"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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:07 UTC