Link removing link colors

Discussion in 'CSS' started by Doskono, Jan 31, 2008.

  1. #1
    someone coded me a css deisgn, i'm very pleased but I have a link and its purple and blue... I want to remove all link colors but to keep the underline, how is this done?
     
    Doskono, Jan 31, 2008 IP
  2. maxjay

    maxjay Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    go to hyperlink properties
     
    maxjay, Jan 31, 2008 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Blue and purple are the browser defaults. Likely there isn't any css code referring to the colours (possibly, that or the code was for the default colours).

    Look in the CSS for the "a"

    a, a:link are the links the first time someone comes to the site.
    a:hover, a:focus are the links when the mouse hovers over them.
    a:active is when the links are actively being clicked
    a:visited is after someone has at one point clicked on a link. It's pretty useful in telling people that they've already clicked there if it's a comfusing page or has a huge menu.

    You likley only have some of those properties in the CSS-- they don't all have to be there. I think the ones you're looking for are a:link, a:hover, and a:visited. If you only see a, that's a sort of "original" style that says what the links are like normally (that is, it's the default unless there's a:hover or a:visited or whatever in the CSS, which will override the properties of "a").

    To set the colour you want, the safest way is to open a paint programme of some sort, select a colour, and then copy down the Hex code that they usually give you for the colour (usually something like #ff0000). You can use words like "blue" and "red" but there's always some leeway in interpreting them... the hex numbers are very precise.
     
    Stomme poes, Jan 31, 2008 IP
  4. St. Anger

    St. Anger Banned

    Messages:
    211
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try to focus on a:link, a:visited and a:hover code...
    their color properties can be changed by:
     
    St. Anger, Feb 1, 2008 IP