Page 1 of 1

Transparency Issue with IE.

Posted: Sat 14 Jan 2012 5:23 pm
by Regal_Bhoy
After adding transparency (opacity) to my web page, I struggled to get it working correctly in IE, but worked no problem in other browsers.

I thought I would share the code I added to the CSS file to enable transparency to work with all browsers to save you the headache if you wish achieve this affect:

}
.td_wind_data {


background-color: #F9EDE1;
width: 100%;
zoom: 1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter:alpha(opacity=60);
opacity:0.6;

}

The coloured code can be added to any section you wish to make transparent and all you have to do then is change the 60 or 0.6 value to achieve your overall outcome.

Re: Transparency Issue with IE.

Posted: Sat 14 Jan 2012 9:43 pm
by GraemeT

Re: Transparency Issue with IE.

Posted: Sun 15 Jan 2012 12:45 am
by Regal_Bhoy
Funnily enough, that website was my first source for learning about opacity. However, it did not work in IE for me, so I had to add the width and zoom lines which corrected it.

Thanks anyway for the link.