CSS W3C Validation Help

Discussion in 'CSS' started by xxll_martin_llxx, Jul 19, 2008.

  1. #1
    xxll_martin_llxx, Jul 19, 2008 IP
  2. Divisive Cottonwood

    Divisive Cottonwood Peon

    Messages:
    1,674
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    There's a lot of errors there to go though, but they should be easy enough to sort out.

    When a parse error is reported on the validator it means maybe that a } curly bracket has been left off of something similar - CSS spelling mistakes really.

    .content-txtbox-shade {margin:0 px; padding: 7px 10px 5px 10px; background-color: rgb(215,215,215);}

    So, if we look at the first reported - you have a gap inbetween 0 and px.

    Change it to as below and it will validate fine:

    .content-txtbox-shade {margin:0; padding: 7px 10px 5px 10px; background-color: rgb(215,215,215);}

    Go through them one at a time and pay close attention to little silly mistakes that have crept in.
     
    Divisive Cottonwood, Jul 19, 2008 IP
  3. xxll_martin_llxx

    xxll_martin_llxx Well-Known Member

    Messages:
    128
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    155
    #3
    Ahh, thanks. Hopefully that's all it is. Didn't realise that would have been such a problem.

    Thank you. I will post back if there are some I can't fathom out.
     
    xxll_martin_llxx, Jul 19, 2008 IP
  4. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry can't reach your server.
     
    justinlorder, Jul 22, 2008 IP
  5. Ledzf

    Ledzf Peon

    Messages:
    77
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You seem set up wrong CSS file, in valider the URL of your CSS is "style_print.css" not "style_screen.css".
    If you using "style_screen.css" you're valid.
     
    Ledzf, Jul 22, 2008 IP
  6. xxll_martin_llxx

    xxll_martin_llxx Well-Known Member

    Messages:
    128
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    155
    #6
    Ya, I must have copied the wrong file.

    Thanks, I managed to get it all validated myself :)
     
    xxll_martin_llxx, Jul 22, 2008 IP