CSS Filter question

CSS Filter question

am 02.08.2007 11:11:08 von usenet

I would like to use the filters in IE6/IE7 to change the foreground
property of an image. I have a two colour GIF image (e.g. a black
square with a white transparent background) and I would like to change
the image to make the black square red, blue, green etc.

I have tried things along this line:



This changes the background colour to red and makes the foreground
colour transparent whereas I just want to change the foreground colour
and leave the background colour transparent.

Any ideas?

Re: CSS Filter question

am 02.08.2007 11:31:47 von usenet

On 2 Aug, 10:11, use...@tynemarch.co.uk wrote:
> I would like to use the filters in IE6/IE7 to change the foreground
> property of an image. I have a two colour GIF image (e.g. a black
> square with a white transparent background) and I would like to change
> the image to make the black square red, blue, green etc.
>
> I have tried things along this line:
>
>
>
> This changes the background colour to red and makes the foreground
> colour transparent whereas I just want to change the foreground colour
> and leave the background colour transparent.
>
> Any ideas?

I have figured this out. I had to make my foreground colour
transparent.

Rob