
09-23-2008
|
|
|
|
Translucent DIV
<div style="opacity:0.7">Lorem ipsum...... </div>
This works in every other modern browsers other than IE. Since IE 7 or
IE 8 beta 2 don't support opacity, -ms-filter: 'Alpha(Opacity=70)';
filter: Alpha(Opacity=70); is the alternative. But still, MSDN says
layout(height) must be predetermined to use that, I can't get the
exact same result. The <div> above contains a paragraph whose height
can be adjusted in accordance with the browser's width.
Is it impossible to get traslucency for div whose height is not fixed
in IE?
|