I have the following css to get a background image to stretch it 100%.
.sectionclass {
background: url('../img/bg.png') 50% 0 no-repeat fixed;
background-size:100%;
width: 100%;
position: relative;
line-height: 2;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg.png', sizingMethod='scale');
}
This works well in the latest version of IE, but when I look at IE7 or IE8, the background will not go full width. What would be the easiest way to solve this problem?
source
share