Reputation: 161
I've not come across this problem before and can't seem to find a solution searching around. The problem is when I place a background using the following example the image will just not appear.
As you can see on chrome and the search bar should look like that, but on firefox its just a white box.
background: url(../images/facebook.png) 95 20 no-repeat;
It works absolutely fine in I.E and chrome just not firefox, is this something to do with the position integers or something else.
Thanks
Danny
Upvotes: 0
Views: 52
Reputation: 2266
CSS doesn't have default units, so Firefox doesn't understand that you mean pixels. The other browsers just take a guess and help you out. Change it to:
background: url(../images/facebook.png) 95px 20px no-repeat;
and it should be fine.
Upvotes: 1