I'm trying to change the link colors of one set of links on a page but their color etc is still set to the default link settings. Here's my code:
HTML Code:
.red_links a {
color: red;
text-decoration:underline;
}
HTML Code:
<div class="redlinks">
<a href="pagetext.html">Test page</a><br>
<a href="pagetext.html">Test page</a><br>
<a href="pagetext.html">Test page</a><br>
<a href="pagetext.html">Test page</a><br>
</div>
Even though I've got all that the links still revert back to this coloring:
HTML Code:
a:link,a:active,a:visited{
color:blue;
text-decoration:none
}
a:hover{
color:blue;
text-decoration:underline
}
Any ideas how I can do this without having to put a class="style" on every <a> tag?