W3C home > Mailing lists > Public > www-validator-css@w3.org > January 2008

Re: Validating CSS using the Validator service

From: Claude Heiland-Allen <claudiusmaximus@goto10.org>
Date: Fri, 04 Jan 2008 15:20:33 +0000
Message-ID: <477E4EC1.1040500@goto10.org>
To: Mubina Bhimji <M.Bhimji@wigan-leigh.ac.uk>
CC: www-validator-css@w3.org

Mubina Bhimji wrote:

[snip]

> Family names containing whitespace should be quoted. If quoting is 
> omitted, any whitespace characters before and after the name are ignored 
> and any sequence of whitespace characters inside the name is converted 
> to a single space.

[snip]

> Can you please let me know what the above means  I submitted the 
> following and got 4 warnings:

[snip]

>             font-family:arial, helvetica, sans serif;

sans serif contains a whitespace character (in this case, a single space 
character), so you should quote it:

     'sans serif'  or  "sans serif"

but, you probably meant:

     sans-serif

Hope this helps,


Claude
-- 
http://claudiusmaximus.goto10.org
Received on Friday, 4 January 2008 15:19:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:20 GMT