5
I made 5 links and set them to change color using a:hover
and a:visited
. The problem is that when I use a:visited
, the settings of a:hover
stop working, the same happens when I use a:link
. What exactly am I doing wrong?
<div id="topo">
<div id="menu">
<div class="links"> <a href="#">Home</a></div>
<div class="links"> <a href="#">Empresa</a></div>
<div class="links"> <a href="#">Projetos</a></div>
<div class="links"> <a href="#">Junte-se a nós</a></div>
<div class="links"> <a href="#">Contatos</a></div>
</div>
</div>
.links{
display: inline;
padding: 5px;
}
a:visited {
color: #e6e6e6;
}
a:hover {
color: #cc9933;
}