Bug Tracker

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#1170 closed bug (fixed)

attr("style","...") doesn't work in IE7

Reported by: bilcorry Owned by: john
Priority: minor Milestone: 1.2.4
Component: core Version: 1.1.3
Keywords: ie7 attr style Cc:
Blocked by: Blocking:


In IE7, this doesn't work on an <img> element (and possibly others, didn't test it):

$(".pics").attr("style","border-style: solid; border-width: 1px; border-color: white;");

But this does work for IE7:


Both work in FF2.

Change History (5)

comment:1 Changed 16 years ago by john

Owner: set to john

comment:2 Changed 16 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [2432].

comment:3 Changed 15 years ago by harningt

Resolution: fixed
Status: closedreopened

Note: This breaks XML that might potentially use the 'style' attribute. Any suggestions on how to fix this?

comment:4 Changed 15 years ago by flesler

Resolution: fixed
Status: reopenedclosed

Won't break it anymore. Fixed at [5575].

comment:5 Changed 15 years ago by flesler

Note: See TracTickets for help on using tickets.