PDA

View Full Version : [CSS] Transparency in IE



NeoDreamer
February 29th, 2008, 11:48 PM
http://www.quirksmode.org/css/opacity.html says that to get transparency to work in Internet Explorer you must do...


filter: alpha(opacity=50);
Note that an element must have layout for a filter to work.

What does the second line mean? What is a "layout"?

actionAction
March 1st, 2008, 01:21 PM
I think they tried to clarify in this line:

"You must specify either a width or a height for any element you want to be opaque"

So by layout, I believe it is referring to position and clearly defined size and saying that IE has issue when not limiting the filter to a very specific region.

_aA