How to change a few anchor classes so they are not controlled by the Pseudo-class

Discussion in 'CSS' started by icreatables, Nov 11, 2011.

  1. #1
    Hi,
    I am trying to build a nav bar that has a blue back ground.
    My pseudo-class for links on the site is

    a:link {
    color: #33F;
    text-decoration: none;
    [h=1]}[/h]So I want the link text font color in the nav bar to be white.

    Is it possible to do this?

    Thanks in advance.
     
    icreatables, Nov 11, 2011 IP
  2. Toycel

    Toycel Peon

    Messages:
    243
    Likes Received:
    11
    Best Answers:
    4
    Trophy Points:
    0
    #2
    Yes it is easy. Do you just want the text to be white all the time? If so then you should code it like:

    
    a:link {
    background-color: #33F;
    color: #FFF;
    text-decoration: none;
    }
    
    Code (markup):
    If you need any help PM me and I will help you
     
    Toycel, Nov 15, 2011 IP