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

Re: The validator is not seeing PHP-added stylesheets

From: Philippe Le Hegaret <plh@w3.org>
Date: 25 Mar 2002 18:35:01 -0500
To: www-validator-css@w3.org
Cc: Timothy Luoma <luomat@peak.org>
Message-Id: <1017099302.12042.204.camel@jfouffa>
> PROBLEM: 
> 	When trying to validate the style sheets for a page
> <http://www.tntluoma.com/sidebars/>, the validator
>
<http://jigsaw.w3.org/css-validator/validator?uri=http://www.tntluoma.co
> m/sidebars/> says 'no style sheet found' when in fact there are
several:
> 
> <link rel="stylesheet" href="/global/css/global.css"
> media="screen,projection" />
> <link rel="stylesheet" href="/global/css/global.css" media="all" />
> <link rel="stylesheet" href="/global/css/print.css" title="Print CSS"
> media="print" />
> <link rel="alternate stylesheet" href="/global/css/global.css"
> title="General" media="all" /> <link rel="alternate stylesheet"
href="/global/css/print.css"
> title="Print CSS" media="screen" /> 

... validate your HTML document first and you'll understand your error.
You are missing the required attribute type='text/css' in your link
elements.

Philippe
Received on Monday, 25 March 2002 18:35:04 GMT

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