Active links' color change in IE6 and FireFox

Posted by aladine on Stack Overflow See other posts from Stack Overflow or by aladine
Published on 2010-06-14T01:49:34Z Indexed on 2010/06/14 1:52 UTC
Read the original article Hit count: 198

Filed under:

Hi, I make link buttons on sidebar of a web page. It will change color if I click the button. It works well in IE6 but not Firefox. Anyone can advise me how to make it on in FF. Million thanks.

Here are parts in css and html body:

.sidenav li a:active {
    background: #cff;
    color: blue;


}

....

<div class="sidenav">
<ul>
    <li><a href="..." ></a></li>
</ul>

© Stack Overflow or respective owner

Related posts about css