Why is my css not validating?

Discussion in 'CSS' started by Notting, Nov 15, 2007.

  1. #1
    Notting, Nov 15, 2007 IP
  2. Lever

    Lever Deep Thought

    Messages:
    1,823
    Likes Received:
    94
    Best Answers:
    0
    Trophy Points:
    145
    #2
    Try, for example:

    p {
    font-family:Arial,Helvetica,sans-serif;
    color:#000000;
    font-size:15px;
    }

    or

    p {
    font:15px Arial,Helvetica,sans-serif;
    color:#000000;
    }

    or better still

    p {
    font:15px Arial,Helvetica,sans-serif black;
    }
     
    Lever, Nov 15, 2007 IP
  3. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #3
    ^

    You can't specify the text color for the font property.

     
    soulscratch, Nov 15, 2007 IP
  4. PicoDeath

    PicoDeath Peon

    Messages:
    219
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Seems fine?
     
    PicoDeath, Nov 15, 2007 IP
  5. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #5
    He has obviously fixed it then :D
     
    twistedspikes, Nov 15, 2007 IP
  6. PicoDeath

    PicoDeath Peon

    Messages:
    219
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Doesn't hurt telling us that or how he fixed it :p

    Could help some people.
     
    PicoDeath, Nov 15, 2007 IP