You are here: Re: CSS Filter question « HTML « IT news, forums, messages
Re: CSS Filter question

Posted by usenet on 08/02/07 09:31

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:
>
> <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?

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

Rob

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация