RE: [css-d] Make a disabled image gray.

2005-09-27 Thread Oliver Hodgson
> -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.

2005-09-27 Thread Gilad Fitoussi
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