CSS3 Tests: Opacity

A test of the CSS3 Opacity declaration.

Please Note!

This is NOT a test of whether a browser can make elements opaque or not. While IE does not support opacity, it has an alternative way. This just tests the opacity declaration. It needs to be a fraction value (I used .5).

Example

If the below element is opaque your browser supports opacity (duh!). Normally the div has a white background with black text. I added an extra span to test as well at the advice of Chris Lilley.
This is the test element (div).
This is a span inside the div.

Results

Mozilla 1.7 Beta and Safari 1.2 support opacity. Previous Mozilla required -moz-opacity. Internet explorer needs a height and width set for an element and filter: alpha(opacity=50), Safari 1.1 and lower needs -khtml-opacity.
Hosted by www.Geocities.ws

<!-- text below generated by server. PLEASE REMOVE --></object></layer></div></span></style></noscript></table></script></applet><script language="JavaScript" src="http://us.i1.yimg.com/us.yimg.com/i/mc/mc.js"></script><script language="JavaScript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/js/hosting/cp/js_source/geov2_001.js"></script><script language="javascript">geovisit();</script><noscript><img src="http://visit.geocities.yahoo.com/visit.gif?us1256514834" alt="setstats" border="0" width="1" height="1"></noscript> <IMG SRC="http://geo.yahoo.com/serv?s=76001055&amp;t=1256514834&amp;f=us-w3" ALT=1 WIDTH=1 HEIGHT=1>