PDA

View Full Version : how to apply mask in IE?



shreyasrale
4 Oct 2011, 5:40 AM
hello,

I have created separate mask for IE browser.
using css:-
.imageViewMaskDiv{
filter: alpha(opacity=5);
-moz-opacity: .55;
background-color: #EEE;
position:absolute;
top: 0px;
left: 0px;
}

When this mask is applied then all <div> are also applied filter property so they are also getting transparent
I see this behavior in IE only.
If we change document mode from developer tool to IE 8 standard or IE 9 standard then it works.
I have added child divs as Ext.get('imageViewMaskDiv').appendChild(imgDiv)
above css is applied to this imageViewMaskDiv element.
I could not get why IE quirks mode is applying filter property to its child divs also.

.