0

I added a background image to a textfield and positioned it using background-position (direction padding direction padding, Ex: right 10px top 10px). It's looks good in all browsers except Safari. In safari the background image is positioned top left without any padding. If I add background-position (padding padding, Ex: 144px 10px;) without specifying position works fine, but I need to make it work the first way I mentioned.

This is the code that is not working on Safari:

background-position: right 10px top 10px;

JSFiddle here: http://jsfiddle.net/xEZfM/

sorinu26
  • 1,122
  • 2
  • 13
  • 20

1 Answers1

1

See this previous question, it will probably answer your question - CSS3 background-position issue with Safari only For future reference, make a jsfiddle demonstrating the problem, so we can try to fix it ourselves before just giving you educated guesses.

Community
  • 1
  • 1
Dan Goodspeed
  • 3,484
  • 4
  • 26
  • 35