Weird. That must be a bug. You can set the background position... $('.XXX').css('backgroundPosition', '0 50%'); and then get it ... $('.XXX').css('backgroundPosition'); // returns "0pt 50%" but you can't get it without setting first.
Hmmm. --Karl _________________ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 27, 2007, at 2:13 PM, DaveG wrote:
How do I get the background-position? $('.XXX').css("background_position"); $('.XXX').css("background-position"); $('.XXX').css("backgroundPosition"); ...do not work. Other variants like "background-color" work fine. ~ ~ David