Previous Message
Next Message

[css-d] CSS Validator

Sent by Raymond Drainville / Argument from Design on 10 July 2002 07:07


I'm having a very hard time understanding the errors I receive when I run my
CSS through the W3C's validator. For example, for a style sheet in one
document embedded in the following XHTML document:

<link rel="stylesheet" href="ardes.css" />

I get the following error:

> 'org.xml.sax.SAXException: Please, fix your system identifier (URI) in the
> DOCTYPE rule'

On another (HTML 4.01 transitional) page where the style sheets are linked
in this fashion:

<link rel="Stylesheet" type="text/css" href="print.css" media="Print">
<link rel="stylesheet" type="text/css" href="screen.css" media="Screen">

I get the following error:
> * Line: -1 
> 
> unrecognized media Print
>
> * Line: -1 
> 
> unrecognized media Screen

Can anyone tell me what I'm doing wrong?? I want to validate my CSS--my
(X)HTML documents validate fine. But I'm still trying to account for NN4,
and so I can't just go crazy with style sheets.

Best,

Ray
_____________________________________________________
Argument from Design-Web & Multimedia
[EMAIL-REMOVED] | http://www.ardes.com/
Previous Message
Next Message

Message thread: