Need help with links!

Discussion in 'HTML & Website Design' started by WiredNode, Aug 18, 2008.

  1. #1
    Hey,

    I have about 20 links on my website page, but they are all blue.
    I want some to stay blue, but others to go white.

    When the change the link colour in the body style they all change.

    How can I set each link its own colour?

    Thanks,
    Jonathan
     
    WiredNode, Aug 18, 2008 IP
  2. AnonymousUser

    AnonymousUser Peon

    Messages:
    593
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try applying the ones you want white a class.

    E.g

    <a href="Url" class="white">Title</a>

    .white {
    color:#FFFFFF;
    }
     
    AnonymousUser, Aug 18, 2008 IP
  3. WiredNode

    WiredNode Peon

    Messages:
    478
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks man, I sorted it :)

    +Rep
     
    WiredNode, Aug 18, 2008 IP
  4. AnonymousUser

    AnonymousUser Peon

    Messages:
    593
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Cool, Didnt know there was a rep system on here, thx.
     
    AnonymousUser, Aug 18, 2008 IP
  5. salihpk

    salihpk Banned

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can also set this in your body tag . <body alink=color link=color>
     
    salihpk, Aug 18, 2008 IP
  6. WiredNode

    WiredNode Peon

    Messages:
    478
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks Guys :)
     
    WiredNode, Aug 18, 2008 IP