|
|
set background-image issue in IE - CSS
|
Views : 903
|
|
Tagged in : CSS
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
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 |
|
|
|