2
我一直在努力讓我的網站優化IE8及以上,並且我一直在使用的背景大小的很多在CSS調整已在IE搞砸大小的圖片...背景大小IE解決問題,dublicates圖像?
我得到IE (filter)解決方法工作,但我的問題是,現在該圖像出現兩次在彼此之上 - (在解決方法之前和之後)。我的CSS如下:
#kompetancer table tr td #os_icon {
background: url(images/os_icon.png) no-repeat;
display: block;
width: 90px;
height: 90px;
position: absolute;
background-size: contain;
-webkit-background-size:contain;
-moz-background-size:contain;
-o-background-size:contain;
-ms-background-size:contain;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/themes/theme-name/images/os_icon.png', sizingMethod='scale');
-ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/themes/theme-name/images/os_icon.png', sizingMethod='scale');
}