1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lexical error at line 2

Discussion in 'Web Development Help' started by brain_damage, Oct 7, 2008.

  1. brain_damage

    brain_damage D-A-L Team Member (UK)

    i'm getting a "Lexical error at line 2, column 2. Encountered: " " (32), after : "<" " on al pages

    here's the code



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>

    <meta http-equiv="Content-Language" content="en-gb">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <meta name="rating" content="General">
    <meta name="robots" content="index, follow">
    <meta name="revisit-after" content="5 days">
    <title>jeffs heart index</title>

    <style type="text/css">
    < ! - - (remove spaces)
    a { text-decoration: none }
    a:link { color: black }
    a:visited { color: black }
    a:active { color: red }
    a:hover{ color: blue}
    - - > (remove spaces)
    </style>



    <style type="text/css">
    p.c10 {font-size: 80%; line-height: 100%; margin-bottom: 0; margin-top: 0; text-align: center; word-spacing: 0}
    p.c9 {line-height: 100%; margin-bottom: 0; margin-top: 0; text-align: center; word-spacing: 0}
    p.c8 {line-height: 100%; margin-bottom: 0; margin-top: 0; text-align: left; word-spacing: 0}
    p.c7 {text-align: left}
    p.c6 {word-spacing: 0; line-height: 100%; margin-top: 0; margin-bottom: 0}
    div.c5 {text-align: center}
    span.c4 {color: #FF0000}
    p.c3 {text-align: center}
    span.c2 {color: #0000FF}
    h1.c1 {text-align: center}
    </style>


    all the rest of the site has past the w3c validator just with the w3c css validator it throw up this error

    thanks