Problem with my css template

Discussion in 'CSS' started by beredim, Aug 16, 2006.

  1. #1
    Hello

    I am using for my site a free css template I found over the internet.Unftortunately I don't know much from css and i have a small problem :(

    My site is the following http://www.x-lair.com

    THe problem I have is when a link is clicked(one in the content not the navigation) after that the link takes a gray color.Take for example this page
    http://www.x-lair.com/programs.html click one of the programs and then hit back in your browser.
    What I want is the links to remain blue after they are clicked....


    Thanks in advance :)
     
    beredim, Aug 16, 2006 IP
  2. sucka

    sucka Well-Known Member

    Messages:
    298
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #2
    hy,

    you simply need to change the font-color of the word, for example the subpage "info" you need to change the color in the subpage "info" for the link "info". Do that with span : <span style=" color: blue">info</span>

    cya
     
    sucka, Aug 16, 2006 IP
  3. sadish

    sadish Peon

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    in the main.css, try to put the following.

    a:link, a:visited {
    color:#0000ff;
    }
    a:hover,a:active {
    color:#ff0000;
    }

    the color code given here is just for the purpose of explaining things to you.

    the first part defines the color of any hyperlink, when in normal mode, and when someone already visited that link.
    the second part defines the color of the hyperlink when you mouse over the link, and just exactly when you click on the link.

    Thanks
    Sadish
     
    sadish, Aug 17, 2006 IP