Search code examples
cssmobileoperaopera-mini

css - alternatives or hacks for mobile browsers that don't support "background-position"


I am trying to make my mobile site accessible to as many browsers as possible, and I noticed when using the opera mini simulator (http://www.opera.com/mobile/demo/) that it doesn't support css background position - which I'm using to display a sprite for all of my site images. Are there any workarounds for this?


Solution

  • There has to be something else that keeps your code from working, because Opera Mini 6 does actually support background position.

    Th website of the company that I am working for uses background position in some places, for example to change the color of the active menu button, and that works just fine. On the other hand there is some other rendering problem that makes it only show part of the button, but that part is the right color...