menu in a simple table doesn't align properly

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
BW
Beginner
Beginner
Posts: 7
Joined: Wed Sep 24, 2003 9:09 pm

menu in a simple table doesn't align properly

Post by BW »

Howdy

I am nesting a menu inside a very simple table. The menu displays and functions properly except for one thing. When the submenu pops up, it is 25 or so pixels below the main menu. However the menu_data file has the offsets at their default settings 3?, 5?, whatever it is....

BTW, if I add another row to the bottom of the table and place the menu script in that cell/row, the offsets place the subdirectory at the correct distance below the main menu. There must be a pattern here that would point to the culprit, but I can't figure it out.

Anybody got any ideas about tables throwing off the offsets? How did you rectify the problem?

Here is a link to a stripped version of the page to focus on the problem...

http://www.biomodus.com/category_dir_fu ... index.html

Head script begins on line 9

Body script on line 140

Thanks,

BW
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Here are a few things to try...

1. Update to RC15 (latest version). You're running RC12.

2. Move all the JS menu calls to the first items in the <body>.

3. Move all the menu script in the <td> back to menu_data.js.

4. Move the menu_data.js call to the <td> that contained the script.
John
Post Reply