Try
filter:alpha(opacity=80);
opacity: 0.8;
It should be work in IE.
Вопрос
Possible Duplicate:
Opacity Properity in IE6
Following code is not working in IE6:
overlayCSS: {background: 'black', opacity: .8}
How can it be solved?
Решение 2
Try
filter:alpha(opacity=80);
opacity: 0.8;
It should be work in IE.
Другие советы
IE6 is "special". the opacity is filter alpha for IE5.5+
http://css-tricks.com/css-transparency-settings-for-all-broswers/
The easiest way to achieve opacity in IE6 with jQuery is to use the .fadeTo()
function:
$('#myelem').fadeTo('0.8');
Or in CSS, I think IE6 supports the non-standard filter
:
filter:alpha(opacity=80);
For this to work though, the element must have layout - if it doesn't, there is a bit of hack that will force the element to have layout:
zoom: 1;