1 reply [Last post]
ravenx
Offline
newbie
Last seen: 17 years 14 weeks ago
Joined: 2003-10-18
Posts: 1
Points: 0

I've successfully managed to define the hover properties in my style sheet for the A tag. However, further down the page I want to turn the hovering bit off.

Anyone any idea how I do this for selected links.

Thanks in advance

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

Yet more Hover

Hi ravenx,
You could specify the same values for "a" and "a:hover" that would turn it off.
Just give the links a class name say nohover<a class="nohover" ...and then set the styles to be the same which you can do on one line.
a.nohover, a.nohover:hover{color red; text-decoration:none;}
Hope that helps