/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] gradient syntax issue?

here is the gradient css i have, but it doesn’t work in IE9.. I’m confused

[code]
background: -moz-linear-gradient(top, #ffffff 0%, #dddd00 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#dddd00));
background: -webkit-linear-gradient(top, #ffffff 0%,#dddd00 100%);
background: -o-linear-gradient(top, #ffffff 0%,#dddd00 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#dddd00 100%);
background: linear-gradient(to bottom, #ffffff 0%,#dddd00 100%);
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=’#ffffff’, endColorstr=’#dddd00′);
[/code]

i have tried putting quotes around the “progid.DXImage…” part but it didn’t make any difference

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@LesshardtoofindAug 21.2013 — Sytax Error:
<i>
</i>filter: progid:DXImageTransform.Microsoft.gradient

instead of:
<i>
</i>filter: progid:DXImageTransform.Microsoft.Gradient

?

I don't have IE 9 to test it but microsoft documentation at

http://msdn.microsoft.com/en-us/library/ms532997%28v=vs.85%29.aspx

Seems to show Gradient as needing to be capitalized.
×

Success!

Help @thewebiphyer spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...