Forum Moderators: not2easy

Message Too Old, No Replies

filter:gray; not working in firefox

         

ravi

5:13 am on Jul 19, 2008 (gmt 0)

10+ Year Member



Hai,

I am designing the web page with dynamic images.

I would like to display the images with gray filter effect.

When i am applying the filter:gray effect it is perfectly working on IE only.

Was there any other way to display the dynamic images with filter:gray effect in Firefox.

Kindly help me to fix this issue

by
ravi

SuzyUK

11:35 am on Jul 19, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



filters are an IE only property, if you're using this grayscale/greyscale filter..

style="filter: gray;"

in order to make an image black/white then I don't think this can be done without manipulating the images in photoshop and providing a second image for hover (if it's a hover effect), or using javascript or php

There is the opacity property which fades out the image a bit, though doesn't make it b/w which might be something to look into depending on your application, try a search for [css opacity color tips and tricks] for more on Opacity

ravi

12:13 pm on Jul 19, 2008 (gmt 0)

10+ Year Member



Thanks alot,

I will search it for opacity