Hi all
I tried searching the forums but couldn’t find an answer for this. It’s a problem with IE’s ‘filter: (opacity)’ property. I can best explain it by example
If I have two div’s like this
[CODE]<div class=”outer”>
Outer
<div class=”inner”>
Inner
</div>
</div>
and I apply the following styles
[CODE].outer {
position: absolute;
top: 100px;
left: 100px;
width: 300px;
height: 300px;
background-color: #ff0000;
border: 1px solid #000000;
filter: alpha(opacity=68);
z-index: 1;
}
.inner {
position: absolute;
top: 100px;
left: 250px;
width: 100px;
height: 100px;
background-color: #00ff00;
border: 1px solid #000000;
z-index: 2;
}
then the area of the inner div which is outside of the area of the outer div is cropped. This is only the case for IE ver. 5.5 and up. When using FF and the opacity property it workes fine. Am I doing something wrong? Is this a bug in IE? Is there a work around?