user1870012
user1870012

Reputation: 59

internet explorer background size issue

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 ordinary care

AND IE :( enter image description here

Upvotes: 0

Views: 204

Answers (1)

Daniel
Daniel

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

Related Questions