sorinu26
sorinu26

Reputation: 1172

CSS: background-position + padding not working in Safari

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/

Upvotes: 0

Views: 5154

Answers (1)

Dan Goodspeed
Dan Goodspeed

Reputation: 3590

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.

Upvotes: 1

Related Questions