louisremi / background-size-polyfill

Adds support for background-size "cover" and "contain" to IE8
http://louisremi.github.com/background-size-polyfill/
MIT License
1.26k stars 359 forks source link

Wrong size and position for generated IMG #64

Open chrisngabp opened 9 years ago

chrisngabp commented 9 years ago

I'm using background-size-polyfill in IE8. My div contains position: relative and z-index: 1. The problem is that the generated IMG is not only too big but also misplaced. Any thoughts?