opacity in css

this might have been discussed before i got on the list, sorry.

it's great that with ie6 coming out that browsers should be up to par with
xhtml, css, and dom specs, but i just noticed that netscape and ie seem to
be branching off again when it comes to certain things.

some of the ie 'filters' that were left out of the css spec seem pretty
useful (specifically 'opacity')... today i found out that ns6 supports
opacity but in a different way.

IE:
 filter:alpha(opacity=50);

NS6:
 -moz-opacity:0.5;

of course, neither works in Opera.

now at first i thought it was stupid to stick the mozilla name in a css tag,
but the more i thought about it, the more i liked the idea of them stating,
"we know it's not in the spec, but here's how we (-moz-/mozilla) would have
done it."

it also seems better supported in ns. in ie, to apply a transparency to an
object (other than an image) the object has to be absolutely positioned.

regardless of the details, my discussion topic for the group is: what do you
think about this functionality branching again? ns4 vs ie4 caused me many
headaches and i see it going the same way again... it would be nice to avoid
the headaches, any thoughts?

james craig

ps. when i intalled the IE6 public preview, it deleted my copy of IE 5.5...
is this and official release, is this a bug, or did it hide 5.5 somewhere?
thanks.
http://msdn.microsoft.com/workshop/author/css/overview/CSSEnhancements.asp

Received on Tuesday, 27 March 2001 15:31:28 UTC