Home › Forums › CSS › Why did this CSS Sprite stop displaying in Firefox? › Re: Why did this CSS Sprite stop displaying in Firefox?
February 3, 2012 at 12:38 pm
#96114
Member
Thanks for your reply.
It’s for background images. I created the sprite with a generator. I inserted the above code into my index.css and then changed the references? to the image:
.login a{display:block; background-image: (#log-in-arrow_jpg); background-repeat: no-repeat; background-position: left 4px; padding-left:12px; font-size:11px; color:#646464; text-decoration:none;}
Before I had the sprite the code was like this:
.login a{display:block; background-image: url(../images/log-in-arrow.jpg); background-repeat: no-repeat; background-position: left 4px; padding-left:12px; font-size:11px; color:#646464; text-decoration:none;}
So after I made the sprite I just changed url(../images/log-in-arrow.jpg) to (#log-in-arrow_jpg).
I don’t want my site to show up in search, so it’s esl inside r (dot) com
It was weird because it was working for about a week and now not.