Forum Moderators: not2easy

Message Too Old, No Replies

background-image comes and goes

after editing image file

         

AnTib

4:23 pm on Aug 26, 2008 (gmt 0)

10+ Year Member



here's the simple declaration:


.answer:hover {
background-image: url(ans_green.gif);
background-repeat: repeat-y;
}

it works fine, until I edit and save the image file. Then the image doesn't show up anymore - except sometimes it does. When it does come back, it seems to be the original image anyway.

I don't touch the code, only the stylesheet.

This is true in IE7, FF2 and Safari 3 - after Reload, after shutting down and restarting. How to fix? Thanks.

[edited by: AnTib at 4:24 pm (utc) on Aug. 26, 2008]

rocknbil

6:30 pm on Aug 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard AnTib.

The first thing that comes to mind is it's a caching issue. Are you testing it locally or on the Internet? Locally it just shouldn't happen. If it's on the Internet, it may be caching. Try clearing the cache in the relevant browser, then refresh the page. Sometimes you have to navigate away from the page you're refreshing for this to work. Browsers are weird that way, one in particular . . . .

AnTib

8:55 pm on Aug 26, 2008 (gmt 0)

10+ Year Member



hey thanks, rocknbil. I am red-faced :) My 1200 x 1 gradient had gotten so pale that it no longer showed... sorry to be a bother.

Well, I'm partially color blind and I just couldn't tell what had happened in that narrow 1px high space in the image editor.

rocknbil

10:23 pm on Aug 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Haha . . . I've got a few of those posts around here myself, no problem.