Re: The validator does not find my style sheets

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 UTC