[thelist] Gradient CSS and IE 4+
s t e f
stef at nota-bene.org
Wed Jul 18 11:06:32 CDT 2001
Andre Gaulin wrote:
> Hi everyone...
>
> hopefully someone can help me out here... i need to find a way to generate a
> gradient shade that is controlled by css so it can be easily updated. The
> problem is that is has to work in IE 4 or 5. I have found IE5.5 specific
> code that works and does exactly what i need:
>
> <div align="center"
> style="height:1px;color:white;filter:progid:dximagetransform.microsoft.gradi
> ent(gradienttype=0,startcolorstr=#3399FF,endcolorstr=#003399)">Example</div>
>
> but i need to get it to work in lower versions. Is there a way to use the
> IE4+ alpha filter to get a vertical gradient like the one above?
>
> OR is there a way to use some sort of transparent image and control the
> background with a standard solid color?
Ouchie. For me it's a no-go.
Do you have lots of images? Wouldn't it be faster to shade them one by one?
--
s t e f
[ http://www.nota-bene.org/ ]
[ irc: irc1.fr.ircnet.net #notabene ]
More information about the thelist
mailing list