Click here to Skip to main content
15,884,425 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I set selected menu items back color in asp.net? Using css or any other method?
Posted
Comments
Shubham Choudhary 4-Apr-13 3:59am    
make class in css and set back color is you want and set on selected menu item
ZurdoDev 4-Apr-13 7:51am    
Yes, use CSS.

1 solution

XML
<html>
<head>
<style>
a:visited
{
background-color:yellow;
}
</style>
</head>
<body>

<a href="http://www.w3schools.com">W3Sschools</a>
<a href="http://www.google.com">Google</a>
<a href="http://www.wikipedia.org">Wikipedia</a>

<p><b>Note:</b> The :visited selector style links to pages you have already visited.</p>

</body>
</html>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900