Welcome to WebmasterWorld Guest from 54.163.49.19

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)

New User

10+ Year Member

joined:May 27, 2003
posts:18
votes: 0


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)

Senior Member

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

joined:Mar 20, 2002
posts:3732
votes: 0


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)

Senior Member

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

joined:May 26, 2000
posts:37301
votes: 0


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)