Bug Tracker

Modify

Ticket #10339 (closed bug: invalid)

Opened 20 months ago

Last modified 20 months ago

Creating Gradient Background doesn't work in IE.

Reported by: xerenader@… Owned by:
Priority: low Milestone: None
Component: css Version: 1.6.4
Keywords: Cc:
Blocking: Blocked by:

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.

Change History

comment:1 in reply to: ↑ description Changed 20 months ago by anonymous

comment:2 Changed 20 months ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to invalid
  • Status changed from new to closed
  • Component changed from unfiled to css

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.