I have a link called "Navigation" I want the link colour to change as I click on it and stay changed. For example: Default colour is blue. When I click on the link it goes to another tab and the color turns to green and it should remain green.
here is the code so far:
<style type="text/css"> a.specialAnchor { font-size: 1em; text-align: right; padding: 10px; padding-right: 15px; color: #0066FF; } a.specialAnchor:link { color: #0066FF; } a.specialAnchor:visited { color: Green; } a.specialAnchor:hover { color:Orange; text-decoration:underline; } a.specialAnchor:active { color: Green; text-decoration:underline; } <asp:LinkButton ID="Navigation" runat="server" BorderStyle="None" CssClass ="specialAnchor" PostBackUrl="~/navigation.aspx">Navigation</asp:LinkButton> This does not give me the results I want Please help.
Basically my webpage looks a something like this: there are four tabs: A, Navigation, C, D And in all those four tabs there are links at the bottom of the page. When you are on A and you click on Navigation link, it will take you to Navigation page. What I want is to change the colour of the link when it is clicked on or visited.
Thank you