Click here to Skip to main content
15,919,778 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to write code in stylesheet when mouse scrolls over the menu items? pls provide code for this specifically bcz i hav already tried different methods.
im not used to javascript or jquery. normally how to write css code for this?



HTML

XML
<div id="body">
           <asp:ContentPlaceHolder runat="server" ID="FeaturedContent">

               <div id='cssmenu' class="column">
                   <ul>

                         <li ><a href="abc.aspx"><span>View Stock</span></a>

                       </li>
                      <li><a href="rrr.aspx"><span>Used Stock</span></a>

                          </li>
                       <li class='last'><a href="yyy.aspx"><span>Taken Back Stock</span></a>

                       </li>
                       <li class='last'><a href="jjj.aspx"><span>Expired Stock </span></a>


                       </li>

                   </ul>

               </div>
           </asp:ContentPlaceHolder

>
Posted
Updated 22-Apr-15 20:47pm
v3
Comments
Deepak Kanswal Sharma 23-Apr-15 3:04am    
You haven't tried anything with javascript!?

1 solution

Hi
you can try

a:hover
{
color:Red;
}
and if u need to change background color of list item change color to background-color
 
Share this answer
 
v2

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