Changing Image Opacity on Rollover
- Jams44
-
Jams44
- Member since: Nov. 8, 2004
- Offline.
-
- Forum Stats
- Member
- Level 07
- Blank Slate
Someone posted a question like this before and I can't figure out where it is. ANyway my question is how do I change the opacity of an image on rollover in CSS, NOT JS. If anyone can tell me or direct me to the correct place that would be muy excellente. BTW Italy wins and Zidane sux.
- Jams44
-
Jams44
- Member since: Nov. 8, 2004
- Offline.
-
- Forum Stats
- Member
- Level 07
- Blank Slate
- JeremysFilms
-
JeremysFilms
- Member since: Feb. 18, 2005
- Offline.
-
- Forum Stats
- Member
- Level 18
- Blank Slate
At 7/9/06 05:19 PM, Jams44 wrote: BTW Italy wins and Zidane sux.
Quite irrelevant, eh?
Anyway, use the alpha filter.
Usage:
filter:alpha(opacity=PERCENTAGE);
Examples:
filter:alpha(opacity=25);
filter:alpha(opacity=89);
filter:alpha(opacity=100);
- elbekko
-
elbekko
- Member since: Jul. 23, 2004
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
Doesn't quite work in firefox, although here's a fix:
http://www.gabrielha..y-IE-Mozilla-Firefox
"My software never has bugs. It just develops random features. " - Unknown
[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]
- Jams44
-
Jams44
- Member since: Nov. 8, 2004
- Offline.
-
- Forum Stats
- Member
- Level 07
- Blank Slate
At 7/9/06 05:29 PM, JeremysFilms wrote: Quite irrelevant, eh?
it was meant to be, and thnx for the code

