Previous Message
Next Message

parse errors, but the css & html validates on w3c site

Sent by Alforddesigngroup on 1 July 2004 03:03


i've been working on this one for a few days now and i'm getting nowhere 
fast.  i have run every file i have for this site through the w3c 
validation site and they all are ok except for the doctype shown here.  
the second parse error has me really baffled.  when i add <p> tags the 
html won't validate.

could someone help me with a "correct parse tree"?
best,
dwain


  W3C CSS Validator Results for file://localhost/Statement.html

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


    Errors


      URI : file://localhost/Statement.html

    * Line: 0

      Parse error - Unrecognized : <!DOCTYPE HTML PUBLIC "-//W3C//DTD
      HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/1999/REC-html401-19991224"> <html> <head>
      <meta http-equiv="content-type"
      content="text/html;charset=iso-8859-1"> <meta name="description"
      content="artist's statement"> <meta name="keywords"
      content="artists, studios, artist's studios, fine artists, digital
      artists, computer artists, american artists, german-american
      artists, u.s. artists, southeast u.s. artists, european artists,
      contemporary artists, modern artists, disabled artists, southern
      artists, alabama artists, painters, printmakers, potters,
      ceramists, ceramic artists, photographers, sculptors">
      <title>Statement</title> <style type="text/css"> body {margin:
      1em; background: url(../Images/Background.gif);}

    * Line: 0

      Parse error - Unrecognized : </style> </head> <body> <div
      id="statement"> <div class="kdd"><img src="../Images/Pages.gif"
      width="275" height="57" alt="Studio KDD"></div> <div class="as">
      <h2>ARTIST'S STATEMENT</h2><br> If Art speaks to you, then you
      have Hearing.<br> If Art makes you see, then you have Vision.<br>
      If Art makes you feel, then you have Sensitivity.<br> If Art makes
      you think, then you have Life.<br> If Art makes you appreciate,
      then your have Gratitude.<br> </div> <div class="manifesto">
      <h2>MANIFESTO</h2><br> <h4>Art is Life</h4> <div class="text"> It
      is a Record of the fleeting Human experience. It explains the
      Transcendentalism of Man and Nature.</div><br> <h4>Art is
      Science</h4> <div class="text">It is Einstein's Theory of
      Relativity in its purest and simplest form, because Art is
      relative. It is relative to the Psyche of the Individual and the
      Collective. It is the purest form of Psychology and Sociology. It
      is the simplest and the most complex language Man can use. It is
      pure Mathematics. It is pure Energy. It is the Expression of the
      Universe.</div><br> <h4>Art is Magic</h4> <div class="text">It is
      an Illusion, a fleeting Image captured with Symbolic or
      Representational elements. It is the empty box at the end of the
      trick.</div><br> <h4>Art is Occult</h4> <div class="text">It is
      Symbolism concealing the Secrets locked away from view. It is the
      Knowledge of the Dark side. It is the vehicle for Man's complete
      self-discovery.</div><br> <h4>Art is Spiritual</h4> <div
      class="text">It is Man when Light and Dark converge as One. It is
      the Guide that leads Man into Life, Death, Discord and Harmony. It
      is the Kingdom of God within and the Fiery Tormentor.</div><br>
      The artist is a reactionary. Work is produced as a reaction to
      internal and/or external stimuli. The artwork is serious or
      humorous, violent or passive, blatant or subtle in nature;


    Valid CSS information

    * #statement {
          o font : 100.01% Bauhaus-medium, Comic Sans MS, Lithograph,
            sans-serif;
      }
    * .kdd {
          o margin-bottom : 3em;
      }
    * .as {
          o margin-bottom : 2.5em;
          o text-align : center;
      }
    * .manifesto {
          o margin : 2em 6.5em;
      }
    * h2 {
          o margin : 0;
          o padding : 0;
          o text-align : center;
      }
    * h4 {
          o margin : 0;
          o padding : 0;
      }
    * .text {
          o margin : 0 1.5em;
          o padding : 0;
      }



______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: