-2
Good,
I am having a problem in a menu that I am creating, I managed to remove the underlining of the text that is defined as link but I wanted to change the color to make a text more normal... Does anyone know how to change the color of a letter ?
ul {
list-style-type: none;
margin-right: 20px;
}
.menu-secundario {
margin: 0 auto;
width: 1280px;
position: relative;
}
.menu-secundario li {
float: left;
margin-left: 5px;
margin-right: 5px;
color: black;
}
a:link {
text-decoration:none;
}
<div class="menu-secundario">
<nav>
<ul>
<li><a href="">Historias</a></li>
<li><a href="">Linha temporal</a></li>
<li><a href="">Impacto da poluição</a></li>
<li><a href="">Percurso</a></li>
<li><a href="">Jogo</a></li>
</ul>
</nav>
</div>
What happens if you add the
color: <cor>
in your CSS where customize links? And what:link
ina:link
means?– Woss
If you put the color in a:link the color stays the same, and I don’t know what is a:link I just tried to take the underline and it worked like this I left it
– David Mv
So I recommend that you start by trying to understand the code you’ve done, because without knowing what you’ve already done you’ll have no way of knowing what you need to do. Research what the
:link
makes and see if it makes sense to do it this way.– Woss