Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:04

IE7 Menu Width stretches


Poster: infmscarclub
Dated: Monday December 14 2009 - 12:19:42 GMT

Hello,

Been trying to search all over for a solution. In firefox the menu's work perfectly, in IE7 the menu stretches all the way to the right. I tried playing with the properties firstly trying the "Menu Width" property but it didnt work.

http://forums.infmscarclub.com

That is the site where the menu is located. If you view the link in Firefox you will see that its fine except for my temporary item width settings. In IE7 you will see the menu stretch to the right.

Your help will be much appreciated.

Re: IE7 Menu Width stretches


Poster: Ruth
Dated: Monday December 14 2009 - 23:43:02 GMT

Hi,

The problem is with the css generic coding for the table at 100%. This is affecting the menu since it is made up of divs, spans, tables, td etc. What you need to do is put in the menuwidth= and itemwidth= in each submenu. So, say for forums, you put in menuwidth='140px'; itemwidth='140px'; The other option is to remove that generic table 100% code. That coding needs to be in the forums submenu, not in the style. You would need to do that for each submenu, or as I noted, remove the generic table code that is set at 100%. I can't tell you why there is no problem in FF and there is in IE.

Code: Select all

with(milonic=new menuname("forums")){
overflow="scroll";
style=menuStyle;
menuwidth="140px";
itemwidth="140px";


Ruth

Re: IE7 Menu Width stretches


Poster: infmscarclub
Dated: Tuesday December 15 2009 - 6:56:51 GMT

Awesome thanks very much Ruth!!