[thelist] Gradient CSS and IE 4+

Andre Gaulin gaulin at mac.com
Wed Jul 18 10:47:35 CDT 2001


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?

any and ALL help is greatly appreciated...

please and thanks

Andre








More information about the thelist mailing list