Possible Duplicate:
make background-size work in IE?
I'm looking for an IE8 and lower solution for the css background-size property. Now I came across this post, but the problem is that it basically only covers:
background-size: cover;
(stretching over the whole element)
and not
background-size: contain;
(fitting 100*100% of the image inside the element)
Here is the IE solution:
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale')";
Now there are other values for sizingMethod, they are crop and image, but still does not creat the desired effect(see why) What is the possible solution for background-size: contain ? I know there is a jquery plugin for that, but I would prefer to use a more css-based method if possible
Thanks!