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

Re: no stylesheet found

From: David Dorward <david@dorward.me.uk>
Date: Fri, 09 Jan 2009 13:42:19 +0000
Message-ID: <4967543B.1070605@dorward.me.uk>
To: Yvonne Janssen <yvonnejanssen@weezenhof.com>
CC: www-validator-css@w3.org

Yvonne Janssen wrote:
> Hello,
> I tried to validate http://www.weezenhof.com/onderhoud.php in the css 
> validator, but I get the answer -no stylesheet found- . I know this 
> means there is something wrong, but I don't know what.
Your stylesheet is added to the document with JavaScript conditionally 
upon which browser is being used (using unreliable User Agent string 

I suggest that you:

1: Remove the comments from above your Doctype so that you don't trigger 
Quirks mode in IE6

2: Replace the JavaScript with conditional comments - 

3: Have one stylesheet which is served to all browsers and second 
stylesheets for IE6/IE7 to override areas where they have problems on a 
case by case basis (instead of maintaining two entirely different 

David Dorward
Received on Friday, 9 January 2009 13:42:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:01:03 UTC