Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6824 closed bug (invalid)

Path of Background Image wrapped by " cause browsers fail to display a image?

Reported by: daveygger Owned by:
Priority: Milestone:
Component: css Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

I used a script to generate a bunch of <li> and insert them into my page using jquery's prepend() function.

Then, I use jquery's CSS() function to set a background-image for them.

$(".myLi").css(...) Unfortunately no bg image was showed.

And I found no matter what I enter, what I saw in Firefox's DOM Source of Selection is: background-image: url(&quot;1.jpg&quot;);

Thanks for taking time to investigate my problem. Best, Davey

Change History (2)

comment:1 Changed 13 years ago by daveygger

I found what's going on with my code. And problem solved.

This is not jQuery's bug but Firefox (I guess). Thanks.

comment:2 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.