W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2006

[Bug 3581] Says Parse-Tree error for what im sure is a valid code

From: <bugzilla@wiggum.w3.org>
Date: Sat, 05 Aug 2006 16:53:49 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1G9PPJ-0003pr-I9@wiggum.w3.org>


           Summary: Says Parse-Tree error for what im sure is a valid code
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: ot@w3.org
        ReportedBy: cyaneyed@hotmail.co.uk
         QAContact: www-validator-cvs@w3.org

i use windows xp sevice pack 1.

i use the css validator to check whether my code is css compliant.
in my stylesheet i use the opacity codes:

padding-top: 10px;

when i test it in IE6 and Firefox 1.5.06 it works pretty well. i use it to make
my text areas semitransparent so that the background image shows through it.

when i check it with cssvalidator it says:
To work as intended, your CSS style sheet needs a correct document parse tree.
This means you should use valid HTML.
URI : http://www.cyaneyed.frih.net/homestyle.css

    * Line: 11 Context : body

      Parse Error - opacity=75)
    * Line: 12 Context : body

      Parse Error - -moz-opacity:0.75;
    * Line: 18

      Parse Error - :0.75; -khtml-opacity:0.75; padding-top: 10px; } 
<------------------END QUOTE---------------------->

but if the browsers interpret it correctly then why is the css validator saying
that its not valid css.
Received on Saturday, 5 August 2006 16:53:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:18 UTC