W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2003

Re: The validator does not find my style sheets

From: Philippe Le Hegaret <plh@w3.org>
Date: 02 Mar 2003 14:25:41 -0500
To: Andreas Ehn <ehn@algonet.se>
Cc: www-validator-css@w3.org
Message-Id: <1046633118.384.4.camel@chacal>

On Sun, 2003-03-02 at 12:12, Andreas Ehn wrote:
> Hi,
> 
> I use the W3C Core Styles here:
> 
> 	http://www.d.kth.se/~d00-aeh/
> 
> The document is valid XHTML 1.1, and includes style sheets with
> statements like these:
> 
> 	<link rel="stylesheet" title="Steely"
> 	  href="http://www.w3.org/StyleSheets/Core/Steely" />
> 	<link rel="alternate stylesheet" title="Oldstyle"
> 	  href="http://www.w3.org/StyleSheets/Core/Oldstyle" />
> 
> User agents find the style sheets without difficulties. However, the CSS
> validator complains with "No style sheet found":
> 
> http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.d.kth.se%2F%7Ed00-aeh%2F&warning=2&profile=css2
> 
> What am I doing wrongly?

You did not specify the type of style sheet language you are using. You
are missing the type attribute with a value "text/css". See also
http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#h-14.3.2


Philippe
Received on Sunday, 2 March 2003 14:25:49 GMT

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