Ugh,
I been trying to tackle this problem for a long time....Please help.
So I am trying to set up a background image , using only css/html. The image is pretty large i want to scale it down to fit perfectly for any time of aspect ratio. I have searched all over stackoverflow even tried some suggestions from here:
CSS background image to fit width, height should auto-scale in proportion
but nothing is working...
here is how it looks in my IE browser: http://i829.photobucket.com/albums/zz217/prakash911/site_zps36d59541.png
Actual Image: http://i829.photobucket.com/albums/zz217/prakash911/background_zps92b4855f.png
sample Test DEMO: http://jsfiddle.net/4GkFu/
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body style="overflow:hidden;">
        <div id="divimg" style="position:absolute; left:0px; top:0px; right:0px; bottom:0px; overflow:hidden;" >
            <img src="img/background.png" style="position:absolute; left:0px; top:0px; width:100%; height:auto;"/>
        </div>
    </body>
</html>
 
     
     
     
    