Forum Moderators: open

Message Too Old, No Replies

Initial opacity using netscape

Inital opaicty

         

Adam5000

11:24 am on Jul 31, 2005 (gmt 0)

10+ Year Member



Thank you all for your help. You're all fabulous.

I need some help with the code for use with the netscape browser.

What I'd like to do is to define an image as a div and have the opacity equal zero when viewed with the netscape browser.

The code below works with internet explorer and I'd like to do the same thing using the netscape browser.

<html>
<head>
<title>Image1</title>
</head>
<body>

<div id=Image1 style="position:absolute; filter:alpha(opacity=0);">
<img src="Image 1.jpg">
</div>

</body>
</html>

When this code is viewed with the netscape browser the image is at 100 percent opacity.

Help.

dcrombie

11:41 am on Jul 31, 2005 (gmt 0)



'filters' are Microsoft-only. You can try using the "opacity (%)" attribute which should work in Mozilla and KHTML browsers.