Thanks a lot for the code: it's there that I could finally see that the 
unit was a comma seperated value instead of the percentage I tried - 
though that also seems to work now :)
wouldn't it be a good idea to be a little more specific on this page btw?
http://developer.netscape.com/evangelism/docs/technotes/xref/dom-css-style-object/
The only thing that is mentioned is 'string' as data type, and that is 
not very helpfull.
Ian Hickson wrote:

>On Fri, 29 Jun 2001, [ISO-8859-1] Fr�d�ric De Vries wrote:
>
>>I can't get the opacity property to work in Mozilla 0.9.1.
>>And the only documentation I can find is that the proper style property
>>to use should be 'mozOpacity'. In one of the viewer demos I see a
>>certain '-moz-opacity' property in the source. But neither of these
>>work. And I have no clue wether the value should be relative or absolute
>>or whatever unit I should use.
>>
>
>Mozilla 0.9.1 is an old version now, I would recommend upgrading to 0.9.2.
>
>Anyway, the following example should get you started:
>
>   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
>   <html lang="en">
>    <head>
>     <title>Opacity Demo</title>
>     <style type="text/css">
>      p { -moz-opacity: 0.5; }
>     </style>
>    </head>
>    <body>
>     <p>This paragraph will be semi-transparent in Mozilla.</p>
>    </body>
>   </html>
>
>It works in recent builds.
>
>HTH,
>



Reply via email to