style=""filter:alpha(opacity=30)""  type css directive in non ie browsers

Javier_Arroyo
Javier_Arroyo used Ask the Experts™
on
Is there some way to replicate the functionality that a:

 style=""filter:alpha(opacity=30)""

has in IE on all browsers? (e.g. safari, firefox, etc...) I'm working in a project that has images that show and depending on conditions will add this to teh <img> tag, but it only works on ie.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011
Commented:
You should be able to just do:

opacity:0.3;

Author

Commented:
LZ1, thanks, although that would then not work in ie, I applied as follows and it seems to work on all browsers now:

style="opacity:0.3;filter:alpha(opacity=30);"

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial