Jump to content

img hover not working help


Orionsbelter

Recommended Posts

It depends on what you mean by 'doesn't work'. Gonna have to be a little more descriptive than that mate.

 

Meaning it does not give full opacity when hovered?

 

 

This is what i use for image hover's.

 

img    {   border: none;    }
.icon  {   opacity: 0.5; filter: alpha(opacity=50); zoom: 1; }
.icon:hover { opacity: 1; filter: alpha(opacity=100); zoom 1; }

 

<img src="image url" class="icon">

Didn't bother to read any of the other posts, so if it's solved already, ignore what I'm about to write:

 

you may need to create a PNG fix, using JavaScript. I'd show you an example, but I can't remember how to write it off the top of my head. sorry...

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.