Reputation: 14088
Hello I am a new one in CSS,
I have next code that working just in IE
filer: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod= 'scale' , src= '/line/resources/middleRight.png' )
Does anyone know how to make this functionality work in FF and Chrome
Thanks.
Upvotes: 0
Views: 801
Reputation: 92813
For Firefox & Chrome you have to write like this:
div {
background:url(image);
-moz-background-size:cover;
-webkit-background-size:cover;
background-size:cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod= 'scale' , src= 'image' )
}
Read this article http://css-tricks.com/perfect-full-page-background-image/
Upvotes: 3