Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32
Submenu appears halfway down the page in IE
Poster: ja
Dated: Thursday September 15 2005 - 20:53:18 BST
Hi
I've just noticed that the simple horizontal menu with drop-down submenus that's working fine in FireFox under Linux is presenting the submenus halfway down the page in IE6 under XP. I've looked through menu_data.js and searched this forum and can't see where the settings for that are .. or maybe it's a bug .. fairly unlikely, it's a really simple menu.
Any clues anyone?
J
Poster: Ruth
Dated: Friday September 16 2005 - 0:36:38 BST
We need to see the page. Without that we really can't figure out what's doing it.
Ruth
Back in a mo
Poster: ja
Dated: Friday September 16 2005 - 15:36:45 BST
OK, I'll be out of action for a few days, but I'll be back with a link.
J
Link
Poster: ja
Dated: Monday January 9 2006 - 20:14:41 GMT
Gosh, can't believe it's taken me that long.
Anyway, here's the link with the problem http://www.thewordfactory.co.uk/
Cheers
J
Poster: vikenk
Dated: Monday January 9 2006 - 20:34:25 GMT
I see this in your css:
th, td {
vertical-align: top;
text-align: left;
}
Try to manipulate these to see of they make a difference. The menu is essentially a <table> so any generic styleing of <td> tags or <table> tags will affect the menu. Try to assign those a class or temporarily remove them and see what happens. Thre's no margin or padding in the above style, but it's worth a shot.
This may also be affecting the menu:
div.mainVertical {
position: absolute;
left: 0;
top: 140px;
width: 100%;
}
Since the menu is in a DIV, it may be inheriting the top margin.
Viken K.
Poster: Andy
Dated: Tuesday January 10 2006 - 10:29:29 GMT
Hi Please see this page: http://www.milonic.com/tablemenu.php
the same principle applies to both DIVS and TABLES in that if you embed the whole lot inside a HTML object it may affect the sub menus positioning due to inheritance.
Poster: vikenk
Dated: Tuesday January 10 2006 - 13:31:01 GMT
Andy,
<sigh> I *knew* that, too! Shame on me for not noticing that detail. I didn't even notice that he had the entire script loaded in the DIV.
I was right about the inheritance though :>)
Viken K.
Poster: Andy
Dated: Tuesday January 10 2006 - 13:36:14 GMT
Quote:
I didn't even notice that he had the entire script loaded in the DIV.
It's something that causes us the most number of problems, I'm looking at a way of fixing it but nothing I do seems to work good enough.
I have a cunning plan though, watch this space