ie8兼容性问题
在ie8浏览器中,js不支持console,所有带console的js都会阻止,不用向下运行。
ie8背景图片大小显示问题:
解决backgroundsize不兼容问题,
.test{
background-image: url('/business/recommend/img/banner4.png');
background-size: 105%;
background-position: 50% 50%;
background-repeat: no-repeat;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/business/recommend/img/banner4.png', sizingMethod='scale');
}
filter中的src路径与background-image中的url路径相同。