Reputation: 59
I have defined background as below:
body{
background-image:url('taksi.jpg');
background-size:100%;
background-attachment:fixed;
}
Why these are different? (IE,Chrome) In as sense what is the problem?
ORDINARY CARE
AND IE :(
Upvotes: 0
Views: 204
Reputation: 11054
According to this post, background-size is an issue with IE.
The accepted workaround for this was:
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/logo.gif',
sizingMethod='scale')";
Read more about this answer here.
Upvotes: 1