RE: [css-d] Make a disabled image gray.
> -Original Message- > From: Gilad Fitoussi > Subject: [css-d] Make a disabled image gray. > > 1. Using expression: > img { filter:expression( eval("this.disabled? > 'gray':''") ); } > > > > 2.
[css-d] Make a disabled image gray.
I need to have images to be gray when the image is disabled. The way to it was by setting filter:gray(). The problem is that in any way I try doing it (for IE) it doesn’t work: 1. Using expression: img { filter:expression( eval("this.disabled? 'gray':''") ); } 2. Using behavior: if (element