CSS Filter question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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:

<img src="square.gif" style="FILTER: Mask(Colour=#FF0000")>

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

On 2 Aug, 10:11, use...@tynemarch.co.uk wrote:
Quoted text here. Click to load it

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


Site Timeline