Reputation: 11
IE-8 is not supporting the property background-size:cover; Anybody out there who knows how to implement this property in IE-8!
Looking for IE-8 hacks or HTML5 tips for IE-8 ;) Thanks in advance.
Upvotes: 1
Views: 653
Reputation: 41832
There is an IE filter, for IE 5.5+, which you can apply:
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale')";
However, this scales the entire image to fit in the allocated area. So if your using a sprite, this may cause issues.
Specification: AlphaImageLoader Filter @microsoft
source : Stack overflow
Upvotes: 1