This question already has an answer here:
I've tried to add background size to IE but it's not working at all:
HTML
<h2 id="news">Notícias <img src="white-marker.png" alt="" /></h2>
CSS:
div#content h2#news {
background: url('../images/news-background.jpg') no-repeat;
background-size: 100%;
border-radius: 20px;
color: #fff;
margin: 20px 0 0 20px;
padding: 8px 20px;
width: 90%;
-moz-background-size: 100%;
-moz-border-radius: 20px;
-webkit-background-size: 100%;
-webkit-border-radius: 20px;
}
What's wrong with the filter?
I use the filter solution above, for ie8. However.. In order to solve the freezing links problem , do also the following:
This has solved the frozen links problem for me.
I created jquery.backgroundSize.js: a 1.5K jquery plugin that can be used as a IE8 fallback for "cover" and "contain" values. Have a look at the demo.
Solving your problem could be as simple as:
As posted by 'Dan' in a similar thread, there is a possible fix if you're not using a sprite:
How do I make background-size work in IE?
Caution
The filter has a flaw, any links inside the allocated area are no longer clickable.
As pointed by @RSK IE8 doesn't support background-size. To figure out a way to deal with this, I used some IE specific hacks as showed here:
Using this I was able to change my logo image to a ugly resided picture. But the final result is fine. I suggest u try something like this.
Also i have found another useful link. It is a background hack used like this
https://github.com/louisremi/background-size-polyfill