Side navigation
#1170 closed bug (fixed)
Opened May 11, 2007 04:38PM UTC
Closed May 13, 2008 12:42AM UTC
Last modified May 13, 2008 05:28PM UTC
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: |
Description
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:
$(".pics").css("border-style","solid").css("border-width","1px").css("border-color","white");
Both work in FF2.
Attachments (0)
Change History (5)
Changed July 21, 2007 12:05AM UTC by comment:1
milestone: | 1.1.3 → 1.1.4 |
---|---|
owner: | → john |
version: | 1.1.2 → 1.1.3 |
Changed July 21, 2007 12:13AM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in SVN rev [2432].
Changed February 12, 2008 07:17PM UTC by comment:3
resolution: | fixed |
---|---|
status: | closed → reopened |
Note: This breaks XML that might potentially use the 'style' attribute. Any suggestions on how to fix this?
Changed May 13, 2008 12:42AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | reopened → closed |
Won't break it anymore.
Fixed at [5575].
Changed May 13, 2008 05:28PM UTC by comment:5
milestone: | 1.1.4 → 1.2.4 |
---|