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:


> 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.


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


>             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:


Hope this helps,

Received on Friday, 4 January 2008 15:19:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:44 UTC