Click to See Complete Forum and Search --> : Positioning and NN7


arthur
10-20-2003, 09:37 AM
<tr><td><a href onMouseOver="showmenu('menu0')" onMouseOut="showmenu()">Lorem ipsum</a><span id="someSpan1" style="position:absolute">.
<div id="menu0" style="position:relative; top:-20px; left:0px; width:80px; visibility: hidden; z-index:1">
- Show me the first layer.
</div></span></td></tr>

Above is a script that works in MS 5+, but it does not work in NN7.

I have a span tag on a period "." with position:absolute and then a div tag with position:relative. (The script to show/hide works on all browsers when I have position:absolute for both the span and div tags - I don't think that is the problem).

Can someone help out with this one?

Many thanks

lillu
10-21-2003, 03:53 AM
Yes, the problem lies in that NN handles position:absolute poorly. However I noticed that NN like margins. Maybe you could try setting that.
Have you tried taking it out of the css and display as is?Relative elements will be rendered each as to different browsers, elements without positioning will appear as is in the HTML. It solved some of my earlier problems, but I don't know if it works for you. If you could post the whole example?

arthur
10-21-2003, 09:45 AM
Hi lillu

I have also posted my problem here -> http://forums.webdeveloper.com/showthread.php?s=&postid=103312#post103312

My source code is here -> http://members.rogers.com/artzan/Showhide.html