gandalf117
30 Mar 2010, 04:53 AM
I am trying to implement some transparency in IE which doesn't understand opacity directly. I have to use filters and I use the following css rule:
* html div.className
{
filter: alpha(opacity=50);
}
This doesn't validate correctly! It says: * html div.className Parse Error opacity=50)
The same validation error occurs for all filters such as filter: chroma(color=pink) or filter: shadow(color=#00cc66, direction=45), etc.
What is going on? Are we not supposed to use filters at all?
How would things look properly in IE then?
Do you know any workaround for this?
* html div.className
{
filter: alpha(opacity=50);
}
This doesn't validate correctly! It says: * html div.className Parse Error opacity=50)
The same validation error occurs for all filters such as filter: chroma(color=pink) or filter: shadow(color=#00cc66, direction=45), etc.
What is going on? Are we not supposed to use filters at all?
How would things look properly in IE then?
Do you know any workaround for this?