Need help with Netscape Layers

They have: 59 posts

Joined: Mar 2000

Does anyone know if a Netscape <layer> can be positioned relatively like the <ilayer>? If so, how do you do it? I can't specify in pixels because I want to use the layers inside text. Help!

This is reference to my previous thread. I'm working on a cross-browser effect.

Phyllis

They have: 231 posts

Joined: Feb 2000

Instead of using the <layer> or <ilayer> tag, use the <div> tag. It is easier to use so you dont have to re-write for IE.

You can position a layer relatively. Here is an example of a relatively positioned layer within an absolutely positioned layer:

<div style="position:absolute;left:50;top:50;">
<div style="position:relative;left:50;top:50;">Message</div>
</div>

:: Lloyd Hassell :: http://www14.brinkster.com/lloydh ::

They have: 59 posts

Joined: Mar 2000

Hi, thanks for your reply. Unfortunately the reason I was using <layer> was so that I could use its onMouseOver event handler which doesn't work (in Netscape anyway) with <div> or even <ilayer>. I discovered that <parentLayer> is the tag to make the layer relative but it doesn't allow the event handler either. I'm hoping Netscape & IE start supporting more of the same features! Thanks, Phyllis

They have: 231 posts

Joined: Feb 2000

I wasnt aware of that. Thanks. If you need more help try the following sites.

www.bratta.com
www.brainjar.com
www.dansteinman.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.