1 reply [Last post]
Kenneth Rafn
Kenneth Rafn's picture
Offline
newbie
Last seen: 5 years 38 weeks ago
Timezone: GMT+1
Joined: 2014-11-06
Posts: 1
Points: 2

Because of two different background colour on the same page I need two different kind of link”style” (a:link – a:hoover…..). How to do that?

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Hi Kenneth Rafn, You need to

Hi Kenneth Rafn,
You need to find a way to target the different links, either by looking at their parents or giving them a class.

<a class="linksone" href="">one</a>
<a class="linkstwo" href="">two</a>
 
.linksone{color:red;}
 
.linkstwocolor:blue;}