By JMJimmy
Monday, 15. June 2009, 04:09:13
Opera & IE Filters
Before I'm flamed horribly, I don't want Opera to support them! I hate them.That said, I have a simple fade script that works in all browsers, except Opera.
I'd like to support it, however, I'm receiving the following error:
HTML style attribute
Declaration syntax error
Line 1:
ht: 200px; background-color: rgb(0,0,0); opacity: 0.0; filter: Alpha(Opacity=0);
--------------------------------------------------------------------------------^
It seems to be having a problem with:
div id="ji" style="position: static; width: 450px; height: 200px; background-color: rgb(0,0,0); opacity: 0.0; filter: Alpha(Opacity=0);">/div>
The page has a strict HTML 4.01 DTD, it validates without warnings.
I'm at a loss. If I take out filter: Alpha(Opacity=0); the error goes away. This of course means that IE is no longer supported. I suspect that Opera is going against the standard to ignore unknown attributes, but can't be sure.
Any ideas?
JMJimmy