Gradient Backgrounds in internet explorer version <=8
I need to have gradient backgrounds on my website for internet explorer. I know there is some kind of proprietry way of doing this:
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#20799d', EndColorStr='#5cb9df');
But this doesn't grok with border-radius
(supported by IE8, at least), which my site uses all over the place.
How should I开发者_高级运维 solve this? (Other than just not having gradient backgrounds on old versions of IE, I mean.)
There's a great library called CSS3PIE, which adds support to IE 6-7-8-9 for many of the CSS3 stuff you seem to be interested in.
I'm using it a lot, and it's never let me down (although it does have its quirks).
精彩评论