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

Re: Validator yields error when type="text/css" not specified.

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 18 Jan 2011 13:42:08 +0200
Message-ID: <A591DEB066A24A969CB779C822BF4730@JukanPC>
To: "Philip Taylor \(Webmaster, Ret'd\)" <P.Taylor@Rhul.Ac.Uk>
Cc: "Proton Zero" <proton.zero@gmail.com>, <www-validator-css@w3.org>
Philip Taylor (Webmaster, Ret'd) wrote:

> Jukka K. Korpela wrote:
>
>> As an author, just add the attribute. It does no harm either, if you
>> type it correctly. If you mistype it e.g. as type="text/ccs", well,
>> that's an entirely different matter...
>
> Jukka, isn't this better addressed by the use of :
>
> <META http-equiv="Content-Style-Type" content="text/css">

Such a tag looks rather bogus to me: using an extra element, purported to 
simulate an HTTP header, to specify something redundant.

More importantly, the W3C CSS Validator seems to ignore it: the <style> 
element content still gets discarded.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Tuesday, 18 January 2011 11:43:08 GMT

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