W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2005

Validates Wrong Page

From: <P.Scott@shu.ac.uk>
Date: Wed, 16 Mar 2005 16:03:19 GMT
Message-Id: <200503161603.j2GG3Jm22236@ivy.shu.ac.uk>
To: www-validator-css@w3.org

Hi Folks,

I tried to validate:

     http://www.shu.ac.uk/schools/cms/teaching/ps/index.html

using the valid CSS button.  It does validate but the CSS isn't mine!
And the offered URI refers to jigsaw, not to my page.

Some text from the "validates OK page" follows this text.

If I enter the URI directly into the validate page, it works OK.

Thanks,
     Peter

-------------------------------------------------------------------

          http://jigsaw.w3.org/css-validator/validator?uri=http://jigsaw.w3.org/
       or http://jigsaw.w3.org/css-validator/check/referer (for HTML/XML document only)

(Or, you can just add the current page to your bookmarks or hotlist.)

To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.
Warnings
URI : http://jigsaw.w3.org/

    * Line : 15 font-family: You are encouraged to offer a generic family as a last alternative

Valid CSS information

    * body {
          o margin-left : 20pt;
          o font-family : Helvetica;
      }
    * .right {
          o float : right;
          o margin-bottom : 60px;
      }
    * .left {
          o float : left;
      }
    * .colored {
          o font-family : helvetica, sans-serif;
          o font-weight : bold;
          o color : teal;
          o font-variant : small-caps;
      }
    * .announce {
          o font-family : helvetica, sans-serif;
          o text-align : center;
          o border : thin solid teal;
      }
    * H1 {
          o font-size : 24pt;
          o text-align : center;
          o margin-bottom : 30pt;
      }
    * UL.nodeco {
          o list-style-type : none;
      }
    * .bar {
          o display : inline;
          o width : 30%;
          o float : left;
      }
    * P.foo {
          o text-indent : 5%;
          o margin-right : 20pt;
          o text-align : justify;
      }
    * TD {
          o margin-left : 5px;
          o width : 40%;
      }
------------------+-------------------------------------------
Peter Scott       | Faculty of ACES
Senior Lecturer   |   Sheffield Hallam University
p.scott@shu.ac.uk |     Howard Street
+44 114 225 4905  |       Sheffield S1 1WB      UK
Received on Wednesday, 16 March 2005 16:06:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:15 GMT