W3C home > Mailing lists > Public > www-validator@w3.org > November 2002

Re: css and valid css

From: Olivier Thereaux <ot@w3.org>
Date: Mon, 25 Nov 2002 07:25:36 +0900
To: Ted Kroiter <tk43@optusnet.com.au>
Cc: www-validator@w3.org
Message-ID: <20021124222536.GC4044@w3.mag.keio.ac.jp>

Hello, Ted.

On Sat, Nov 23, 2002, Ted Kroiter wrote:
> when I check my css sheets against your validator

Which validator? I assume you're talking about the CSS validator (this
is the list for the other validators, by the way, the CSS validator has
its own list, www-validator-css...).

>, it says no problem but adds that it needs to be valid html. 
>What does this mean? 

It means that if you embed your stylesheet within an (X)html document,
using the <style> tag, then the HTML document has to be valid or the CSS
validator will choke.

It does in no way mean that you have to add HTML markup to your CSS

Hope this helps.
Olivier Thereaux - W3C
http://www.w3.org/People/olivier | http://yoda.zoy.org
Received on Sunday, 24 November 2002 17:25:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:30 UTC