View Full Version : Linking, Glowing, Hovering and Opacity


Shaneo
03-30-2003, 10:25 AM
On my site, I've made it so that all links glow on hover which is good and all but when i put an image on my site and add this style="filter:alpha(opacity=62)" into the <img> tag (to make the image translucent) it goes really dark on hover which it shouldn't!

I've made a demo of the problem if you don't understand what i mean.. It's here (http://www.sa86net.com/~shaneo/htmlhelp/).. You can also view the source code there and tell me if i've done anything wrong...

So is there a way to make it so on hover this particular link will do nothing but all the rest of the links on the page will still glow? Or is there a way to make it so none of the links glow unless i specify they do? <-- I hope that makes sence!

Thanks in advance :D

angelivion
03-31-2003, 06:58 AM
There was nothing wrong with it, at least not on my computer. There was the blue glow on hover for both the links, except it's much lighter for the picture. And the filter goes left for the text link, and to the right for the image link.

Shaneo
03-31-2003, 07:46 AM
Must be just in IE 5.0 then i guess but what i would still like to knowOriginally posted by Shaneo
is there a way to make it so on hover this particular link will do nothing but all the rest of the links on the page will still glow? Or is there a way to make it so none of the links glow unless i specify they do?

the_dark_one02
03-31-2003, 04:28 PM
Originally posted by Shaneo
So is there a way to make it so on hover this particular link will do nothing but all the rest of the links on the page will still glow? Or is there a way to make it so none of the links glow unless i specify they do? <-- I hope that makes sence!

Thanks in advance :D

theres is a way to this. you just have to use classes in your CSS (this example is from my site) like this:-

for the links on my page which i wanted to turn red i put this into my css
"A:link.red,A:visited.red,A:active.red{text-decoration:none; color:#ff0000;}" <---notice the A:link.red which tells the css that this style is for the class"red" so in yer html links you add this
"<a href="#";class="red">"

where red would be the name of the style you want to use. hope that helped!

ps just add as many of the .red or whatever to EXTRA things etc for however many styles u want!

Shaneo
04-01-2003, 06:59 AM
Ur a genius! Thanks for that! :D

the_dark_one02
04-01-2003, 01:49 PM
Your welcome,
ima happy to help