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

The validator is not seeing PHP-added stylesheets

From: Timothy Luoma <luomat@peak.org>
Date: Mon, 18 Mar 2002 13:00:10 -0500
To: <www-validator-css@w3.org>
Message-ID: <001001c1cea6$bf653ae0$6401a8c0@Tim>

Hello!  First of all, thanks for the validator, I find it incredibly
handy.

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" /> 


ADDITIONAL INFO: 

1) The page  <http://www.tntluoma.com/sidebars/> and in fact the entire
site is put together my PHP.  I'm not sure if that matters or not.

2) Some pages have LOCAL css files, and those ARE found.  For example if
you goto
<http://jigsaw.w3.org/css-validator/validator?uri=http://www.tntluoma.co
m/> you will see that it finds and validates only the LOCAL css file.
Here is the relevant excerpt from the HTML of
<http://www.tntluoma.com/>:

<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" /> 

<style type="text/css" media="all">
	@import "local.css";
</style>


Only the @import one is seen in this case.

I will be happy to provide more information if needed.

Thanks for your time

TjL

Ps -- I just subscribed, and I'm not sure how quickly I will begin to
see posts, so if you could CC replies to me for now until I'm sure I get
them, I would appreciate it
Received on Monday, 18 March 2002 13:00:10 GMT

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