Html Hyperlink Color

Discussion in 'Gaming' started by Mafia_lDR, Oct 19, 2006.

  1. Mafia_lDR

    Mafia_lDR Well-Known Member

    Age:
    36
    Posts:
    4,061
    Likes Received:
    0
    Joined:
    Aug 30, 2005
    Location:
    Canada
    Well im coding my personal portfolio and for some stupid reason i forgot how to change the hyperlink color. Its default blue and purple but i want it another color.

    So can anyone remind me how to change this ?

    Thank you
     
  2. FUBAR

    FUBAR Senior Member

    Age:
    44
    Posts:
    2,252
    Likes Received:
    0
    Joined:
    Jun 16, 2005
    Location:
    Toronto, Ontario
    At the top in the style header put.

    Code:
    a:visited {
    	color: #CCCCCC;
    }
    a:hover {
    	color: #3E6C79;
    }
    a:active {
    	color: #CCCCCC;
    }
    
    The visited color will be the color after clicked. The hover is the color while having the mouse over top and Active is the current one selected.

    hope this helps...
     

Share This Page