Submenu is showing different offsets in I.E and Firefox

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mmlbrenda
Beginner
Beginner
Posts: 5
Joined: Fri Aug 04, 2006 3:52 pm

Submenu is showing different offsets in I.E and Firefox

Post by mmlbrenda »

I am using the menu to display a dynamic cart list. The top level menu element is always displayed when mouseover we will show a submenu that will appear to have a box around the top level menu and the submenu. I didn't see any examples of how to do this so I am using stylesheets to mimick this effect. However, I seem to have a -1,-1 off set for the submenu in i.e. and in Firefox I seem to have an extra 1 px border in the submenu.
Note there are two sets of menus on the page. I am referring to the one at the top of the page with "shopping cart" in the top nav.
[url]http:\\surlatable.marketlive.com[/url]
Brenda
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Brenda,

You are way downlevel. There's no way we can help with whatever the problem is since the menu has had numerous fixes, additions and changes since then. We are now at 5.753. I know that there was a fix done for IE since it would assume if you set a box width that is what you wanted and would not add to the width when putting a border on it but instead included the border in that width, whereas other browsers took the width and then if you added a border it added however many pixels the border was to the width. That is probably where your problem is occuring. As to using css to add a border, the menu has properties such as onborder which would place a border around the item when it was moused over.

Ruth
mmlbrenda
Beginner
Beginner
Posts: 5
Joined: Fri Aug 04, 2006 3:52 pm

Post by mmlbrenda »

I am going to upgrade the menu...but the end result of what I want is to look like one continuous boxed border around both the first level menu element and the submenu that appears below it. The onborder only gives that on the one element not the combined.
Brenda
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

In that case you will have to use css, however, the only way to have that look completely is to make sure that the width of the parent item is set and that the submenu width is set to the same as the width of the parent.

Ruth
Post Reply