Morph css background-position in Internet Explorer

If you try to set the CSS-property

background-position in Internet Explorer (I tested with 7) and even use that with Mootools' morph/tween-functions, it will not work.

You can workaround that issue, if you set also background-position-x and background-position-y (actually ignored by my Firefox 3.0).

This is the code, I use at koala to move the background upwards.

    'background-position':'0 -140px',

In css, internet explorer, javascript, mootools by @ 16 Jun 2009

comments powered by Disqus

Recent Files


Recent Dev-Articles

Read recently