Jump to content

Using multiple link colours


plznty

Recommended Posts

if u have links specififed a certain color aka a:link the class doesnt change them to a different color. it only changes the hover.

i just tested

<style>
a.white{
color:#ffffff;
}
a.white:hover{
color:#aaaaaa;
}
a:link, a:active, a:visited{color:red}
a:hover{color:deeppink}

</style>
hi whats up
<a class="white" href="#">this should be white</a>
<a href="#">this be red</a>

 

both links were RED but the hovers where different

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.