Oliver
Oliver

Reputation: 11617

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.)

Upvotes: 1

Views: 128

Answers (1)

Joseph Silber
Joseph Silber

Reputation: 220136

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).

Upvotes: 3

Related Questions