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,
-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________

Reply via email to