Bug Tracker

Opened 11 years ago

Closed 11 years ago

#10339 closed bug (invalid)

Creating Gradient Background doesn't work in IE.

Reported by: [email protected] Owned by:
Priority: low Milestone: None
Component: css Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:


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.

Change History (2)

comment:1 in reply to:  description Changed 11 years ago by anonymous

comment:2 Changed 11 years ago by timmywil

Component: unfiledcss
Priority: undecidedlow
Resolution: invalid
Status: newclosed

filter is not a value of the background property. Do .css('filter', 'progid...') instead.

Note: See TracTickets for help on using tickets.