ridermansb
ridermansb

Reputation: 11059

Problems with background-image centered/fixed in IE8 and below

I published a website at: http://semep.com.br/Clientes

I'm having problems with IE8 and below the background-image property

IE8

background-image in IE8

Full image: https://i.sstatic.net/fRAHd.jpg

IE9

IE9 background-image

Full image: https://i.sstatic.net/UdvWw.jpg

Both in IE9 as in any other browser, everything works perfectly!

Upvotes: 4

Views: 5763

Answers (2)

Krimo
Krimo

Reputation: 954

Use that:

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='YOURBACKGROUND.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='YOURBACKGROUND.jpg', sizingMethod='scale')";

Upvotes: 3

Etienne Dupuis
Etienne Dupuis

Reputation: 13796

Instead of using :

background-position: center;

Use:

background-position-x: center;
background-position-y: 0;

Or:

background-position: center top;

Upvotes: 3

Related Questions