Side navigation
#10339 closed bug (invalid)
Opened September 24, 2011 07:01AM UTC
Closed September 24, 2011 06:10PM UTC
Creating Gradient Background doesn't work in IE.
Reported by: | xerenader@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | css | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I want to have a gradient background for my div. In other browsers it works. For example, Google Chrome and Safari
.css('background', '-webkit-gradient(linear, left top, left bottom, color-stop(0%,#61c419), color-stop(100%,#b4e391))')
For IE,
.css('background', 'filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#61c419", endColorstr="#b4e391",GradientType=0 )')
but it doesn't work.
Attachments (0)
Change History (2)
Changed September 24, 2011 07:12AM UTC by comment:1
Changed September 24, 2011 06:10PM UTC by comment:2
component: | unfiled → css |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
filter is not a value of the background property. Do .css('filter', 'progid...') instead.
Demonstration here:
http://jsfiddle.net/xerenader/Ft9dY/