Forum Moderators: not2easy

Message Too Old, No Replies

css/html validator

         

Kysmiley

8:22 pm on Apr 4, 2004 (gmt 0)

10+ Year Member



im trying to use the W3C CSS Validator for a page and it tells me
Line: 5
Parse Error - {url(ph.css); }

No style sheet found

on the page i have it inported like this
@import {url(..ph.css); }

the pages seem to work fine can someone offer suggestions non why im getting this msg. thanks
Pat

Kysmiley

8:27 pm on Apr 4, 2004 (gmt 0)

10+ Year Member



One more thing while doing the css validation i get this
Line: -1
Uncaught error java.lang.RuntimeException
my line one looks like this

body { margin: 5%; color: black; background-color: #A2B991; }
Any suggestions on this one also
Pat

Purple Martin

11:54 pm on Apr 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Line: 5
Parse Error - {url(ph.css); }
No style sheet found

on the page i have it inported like this
@import {url(..ph.css); }


You need to upload the ph.css file to the validator, not the HTML file with the @import line in it.

encyclo

12:09 am on Apr 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



@import {url(..ph.css); }

Surely that should be @import {url(../ph.css); } (with the slash)? That would explain why the validator can't find the stylesheet.

drbrain

8:03 pm on Apr 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Remove the curly braces.

[w3.org...]