You must Sign In to post a response.

How to change div ul li selected color


I'm working application.

This is my vertical menu.
<div class="arrowsidemenu">
<div class="menuheaders">
<a href="#" title="WorkOrder">Work Order</a></div>
<ul class="menucontents">
<li class="selected"><a href="#1/">>> Work Order</a></li>
<li><a href="#2/">>> Scope of Works</a></li>

I want show my ul li as RED color when it is selected using CSS...

How to do it?


#503357    Author: Ali Adravi    08 May 2010 Member Level: Silver   Points : 2

There is no option to change the color of selected "li".
But you can do this for anchor tab by using a:active and a:current.

For more detail see the css for menu.

Ali Adravi

This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.