This is driving me crazy!

Discussion in 'CSS' started by hitmanuk2k, May 13, 2007.

  1. #1
    hitmanuk2k, May 13, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    a:link {
    color:black;
    }

    is overriding your

    .PostComment2 a {
    color:#fff;
    }

    because it appears after it (put the .PostComment2 below it). That's why you should always put rules for common elements (h1, h2, h3, h4, a, div, blockquote, etc) at the top of yourstylesheets and have your more specific rules (with classes/IDs) below.
     
    soulscratch, May 13, 2007 IP
  3. catyack

    catyack Active Member

    Messages:
    605
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    68
    #3
    sorry, I wanted to help you, but I'm not sure what the problem could be. I gotta say though, that is a great looking site, really really nice, you are going to do well with that.
     
    catyack, May 13, 2007 IP
  4. hitmanuk2k

    hitmanuk2k Peon

    Messages:
    530
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Doh. Thanks. I really need to tidy it all up.
     
    hitmanuk2k, May 13, 2007 IP