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:17
problem with tableborder
Poster: menumaker
Dated: Friday July 30 2004 - 9:29:08 BST
I have made a simple menu in a table with border=0 and all is correct
but wenn i change the border to 1 the menu looks not so good
I have the freelicence menu and use Microsoft Inernet Explorer 6
http://www.fa-com.de/problem/menu.htm
Poster: Ruth
Dated: Friday July 30 2004 - 15:43:49 BST
Could you be a little more specific on what you want the menu to look like in relation to the table? Do you want the menu in the center? You need to nest a table in that cell, put the menu in it and align the table center. Or do you want the menu to be as wide as the cell? If that's the case you need to define the width of that table cell and then make the menu item that same width.
Ruth
Poster: menumaker
Dated: Friday July 30 2004 - 19:01:05 BST
No
the menu size ist ok
the problem i have is that the menu has a bug
when i put it in a table with border=1
look at the URL move the mouse over a menuitem and you see my problem
the problem is only when i put the menu in a table with border=1
not when border=0
in menu vers. 5.0 the menu the problem dosn't exist
here are the menus with border=1 and border=0
see the difference and you see the problem
http://www.fa-com.de/problem/menu.htm
Poster: Ruth
Dated: Friday July 30 2004 - 19:46:26 BST
I don't see any difference between the menu in the table with border and the one without a border. I have IE5.5, win98. What OS are you using and can you describe the problem? By the way, you do not have the drawmenus(); in the menu_data.js file. I think it needs to be there, although you don't have submenus so it may not matter, but if you put submenus in the file you will need that at the end of the file and in the table with the main menu.
Ruth
Poster: menumaker
Dated: Saturday July 31 2004 - 13:14:46 BST
OK
I use Microsoft Windows XP Pro
and Internet Explorer 6
I testet it with Windows ME and Internet Explorer 5.5, too.
The problem is when i put the menu in a table with border
the onborder (z.b. onborder="1px solid #222222"; ) from the menu is
not on right position
i think the onborder has an offset x=-1 and y=-1
but only when the border from the table is 1 or higher
Poster: menumaker
Dated: Thursday August 5 2004 - 18:48:13 BST
Hello
can someone help me
with this problem
Poster: Ruth
Dated: Thursday August 5 2004 - 19:53:01 BST
OK. I have no idea why it's doing what it's doing, however I got it to work in IE5.5 win98se. Change your MainMenuStyle border color to the same as the offborder color.
Code:
bordercolor="#AAAAAA";borderstyle="solid";
borderwidth = 0;
I think that having the border color as #000000 and the offbordercolor as #AAAAAA the menu is trying to somehow put in both of them, even though the borderwidth=0. Once you change it to the same as the offborder color it stops doing that shift of the onborder.
borderwidth = 0;
Ruth
Poster: John
Dated: Thursday August 5 2004 - 21:01:26 BST
While I realize this is a test page, you have 2 menus with the same name on that page (MainMenu). Not good.
Your aI statements are missing a closing ;...
Code:
aI("text=Login;align=center;url=index.php?li=1;");
Note the additional ; added after li=1.
While I guess it sometimes works, position='relative'; should be position="relative"; (double quotes).
Lines that do nothing can be removed...
high3dcolor = null;
low3dcolor = null;
pagebgcolor="";
overfilter="";
outfilter="";