Link button and CSS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Taftheman
    New Member
    • Nov 2006
    • 93

    #1

    Link button and CSS

    Hi i have changed the style of a link button in CSS. Origanlly I changed the linkbutton colour to dark green and hover to red. This worked great. But now i have changed the linkbutton colour to violate blue. The problem I am having is that even tho this works fine, once the link has been visited it changes back to dark green. I have also messed around with using the visited attribute for the link buttons, but then my hover doesn't work once the link is visited. Can somebody help. All i want is my link to be the same colour when visited to when page load.

    Thanks if anyone can help much appretiated.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    Originally posted by Taftheman
    Hi i have changed the style of a link button in CSS. Origanlly I changed the linkbutton colour to dark green and hover to red. This worked great. But now i have changed the linkbutton colour to violate blue. The problem I am having is that even tho this works fine, once the link has been visited it changes back to dark green. I have also messed around with using the visited attribute for the link buttons, but then my hover doesn't work once the link is visited. Can somebody help. All i want is my link to be the same colour when visited to when page load.

    Thanks if anyone can help much appretiated.
    This is a client side issue. We have a forum on this site dedicated to those issues, but just to show we server side guys aren't hotheads who dismiss such problems as trivial - it has to do with the CSS a:visited link color. HTH.

    Comment

    Working...