almost a year is too late, but I tried to find out the same thing and could not come up with or find a direct answer. After a little cheating with a few tips, I realized this. I have not yet had the opportunity to test this on IE8 and have stopped worrying about IE6 / 7, so please keep that in mind.
The trick I found is to use a combination of background position (using percentages - sprite images, as mentioned earlier), padding-top (again, using percentages is a percentage of the total width of the sprite image) and background size: cover.
Play with him on jsfiddle .
#wrapper { position: relative; width: 100%; } .div { position: absolute; top: 0; left: 0; background-image: url('http://upload.wikimedia.org/wikipedia/en/2/2e/Sprite_logo.jpg'); background-repeat: no-repeat; background-position: 0% 0%; background-size: cover; padding: 50% 0 0 0; width: 40%; } <div id="wrapper"> <div class="div"></div> </div>
source share