i have this li
list , but i want to know how to have the current page link have a background of white,(li:active
)
css:
#layout-three-liquid2 #section-navigation ul
{
margin: 0;
padding: 0;
}
#layout-three-liquid2 #section-navigation ul li
{
margin: 0 0 0em;
padding: 0;
list-style-type: none;
}
#layout-three-liquid2 #section-navigation ul li:hover{
background-color:white;
}
#layout-three-liquid2 #section-navigation ul li a:active{
background-color:white;
}
html:
<ul>
<li><a active="current" href="#page1">Home</a></li>
<li><a href="#page3">Replies</a></li>
</ul>
but its not working, how can i solve this?