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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skavinkar
    New Member
    • Jun 2012
    • 23

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

    I am trying to get 'backgroundPosi tion' 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,backgroundPos itionX,backgrou ndPositionY 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.
  • skavinkar
    New Member
    • Jun 2012
    • 23

    #2
    This is my URL for the page http://www.hipbench.com/
    Check this $(document.getE lementById('ctl 00_ebtnSearch') ).css('backgrou ndPosition')
    On chrome it returns me "100% 0px" whereas on IE it returns "0% 0%"

    Comment

    Working...