Having some trouble with scaling backgrounds on different browsers. Initially designed website on Google Chrome, but background doesn't scale properly when viewed on iPhone or older versions of IE.
Started with:
background-size: 100% 150%;
Then changed to:
background-size: auto;
Still experiencing issues. Any suggestions for resizing/scaling image across all browsers and IE from version 6 onwards?
UPDATE
Current code is working fine in Chrome, FF, and newer IE versions. However, in IE8 and below, the image appears unstretched. On iPhone, background doesn't display at all. :/
#head-div
{
padding-bottom: 15%;
width: 100%;
background: url(../img/banner.gif) no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
-ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/banner.gif', sizingMethod='scale');
}