Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi there, I wonder if anyone can help? I'm trying to validate a style sheet and I've managed to get rid of the errors and warnings I had, but the style sheet still isn't valid. I get this message:

    To work as intended, your CSS style sheet needs a correct document parse tree.

    the result page:
    http://jigsaw.w3.org/css-validator/validator

    All of the pages that are linked to the style sheet have been checked and are valid xhtml 1..1

    Any suggestions most welcome.
    Thanks, six pastels.
  2.  permalink
    It sounds like your html document may be causing the error, could you post a link to the page and css in question?
  3.  permalink
    I'm checking from my computer - not online yet.
  4.  permalink
    This is the decleration on all of the pages - when I check at W3C, all pages are valid:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    • CommentAuthorMouldy
    • CommentTimeFeb 16th 2006 edited
     permalink
    Edit: my last attempt was as clear as mud!

    I got that error message when I tried to validate files at http://localhost/whatever

    I had to save the source of the page and then validate it at c://folder/folder/whatever.

    This will apply to css files as well as html, php etc
  5.  permalink
    Hi Mouldy, sorry if I'm a bit thick here!

    I'm using W3C css validator to browse for the files on my computer and
    check them. I don't what know what you mean by 'save the source . .
    . . . /whatever'!?

    Can you advise a bit more? Or you Benjitastic?
    Thanks for trying, Brian.
    • CommentAuthorKanashii
    • CommentTimeFeb 19th 2006
     permalink
    "To work as intended, your CSS style sheet needs a correct document parse tree."

    That isnt an error message. If that is the only thing showing your page is fine. It's just advising that even though the CSS is valid for it to work properly you still need a valid document for it.
  6.  permalink
    I'm just not sure why I don't get the 'congratulations' message and the validation link? (I'm sure this happens when all's ok)

    Can I say that the page is css valid without getting this message?
    •  
      CommentAuthortsk
    • CommentTimeFeb 19th 2006
     permalink
    from my experience, you get that message whenever you validate yor css online via your page (not direct input in the css validator form).

    And yes, if you get warning but no errors you may consider your css valid.
    •  
      CommentAuthorSpookyET
    • CommentTimeFeb 19th 2006
     permalink
    I finaly found out why the W3C CSS validator is so anal about foreground and background colours: "In order to avoid conflicts with user style sheets, it's considered good practice to specify a background color for every rule that contains a foreground color (and vice versa). Although the majority of visitors to your site don't use their own style sheet, those that do may do so for reasons of accessibility, so failing to accomodate them may make your site inaccessible."
  7.  permalink
    Thanks tsk and eveyone else for their contributions - appreciate the help, six.
  8.  permalink
    I PRODUCE LARGE VOLUMES OF PORK-BASED FOOD PRODUCTS!
    six pastel try putting your style sheet in directly into the validator I have had the same problem using the url method, feel free to e-mail me if you have any questions at all jamessablan@yahoo.com also here is a project I just posted here the other day it may help also: http://uhwwd.t35.com/wd101.html - Web Devlopment 101 is what I call it. I put it together to help everyone, let me know what you think. Look forward to hearing form you and most of all thank you for your valuable time.

    Webmaster and Developer at Under His Wings Web Design
    James A. Sablan Sr. my Business e-mail: webmaster@uhwwd.zzn.com
  9.  permalink
    you also need this line of code if you are checking from the url
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  10.  permalink
    Thanks to all replies - six
Add your comments
    Username Password
  • Format comments as (Help)