set background-image issue in IE - CSS Views : 903
Tagged in : CSS
Send mail vote down 1 vote down 0
Hi....
In CSS, background-image and opacity properties are not worked in IE but worked in firefox.
Correct format for all browsers are given below:

<style type=""text/css">
.display{
background:url(image1.gif); //for all browsers
background-image:url(image1.gif); //not work in IE only
opacity:0.5; // for firefox
filter:alpha(opacity=50); //for IE
-moz-opacity:0.5; //for mozilla
}
</style>
By - Nirmala, On - 2008-12-31




    Login to add Comments .