By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,400 Members | 1,335 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,400 IT Pros & Developers. It's quick & easy.

background-position-x and background-position-y not working on IE9

P: 23
I am trying to get 'backgroundPosition' of control, which works fine on chrome but as usual not on IE.
Workaround for this i am using background-position-x,background-position-y,backgroundPositionX,backgroundPositionY properties of jquery.The properties mentioned above works fine for one of my application on IE but doesn't give any result on other application.
Can't really get how's it possible that certain predefined properties are supported by particular app and not by other.
Oct 26 '12 #1
Share this Question
Share on Google+
1 Reply

P: 23
This is my URL for the page
Check this $(document.getElementById('ctl00_ebtnSearch')).css ('backgroundPosition')
On chrome it returns me "100% 0px" whereas on IE it returns "0% 0%"
Oct 29 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.