Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: open

Message Too Old, No Replies

Drop down menu js appearing in different locations

   
1:18 pm on Aug 12, 2003 (gmt 0)

10+ Year Member



Hi,
I have some standard javascript that onmouseover, drops down a menu. I have placed the coordinates of where this menu is to appear on the page, however, if I open the page in Mozilla or Netscape, the drop down menu does not appear in the same place (directly under the image selected).
Using IE6.0 as the test browser it puts it in the correct place.
Any thoughts?
5:35 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member korkus2000 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Netscape and IE have different coordinates. You need to test for those and use what will work for each browser.
5:37 pm on Aug 12, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



This probably has to do with the way the divs are positioned and nested. It's very possible that your positioning depends on something non-standard that IE does. But without any code, it's hard to tell.

How about giving us some short sections of the code - just:

1. What DTD you are using
2. CSS for the divs involved - only the positioning rules
3. HTML snippet (again, just enough to show the structure)