Good evening all!
This may be a newb question, but I have a menu placed in a table centered on a page as taught by the Milonic help site itself. The menu fits perfectly in the table when I design and view on my specific browser and resolution.
However, when I goto the site from a different browser/resolution the menu may either be too short (horizontally) to fill up the table as it did before or too long (horizontally) and go past the table positioning.
Is there a way to make it fit the width of the table it is in so it can adjust to different settings?
Thanks!
Menu is positioned differently on different resolutions...
menuwidth property
Hi
When the menu is placed in a table, which is e.g. 600 px wide and you specify menuwidth="100%"; then the menu "fills" the table up to its margin.
In addition there is something to consider:
I recommend to specify an individual itemwidth (item property) for each item. The total should not exceed the menuwidth (and width of the table).
Example:
Unfortunately neither
http://milonic.com/menusample9.php
nor
http://milonic.com/tablemenu.php
or
http://support.milonic.com/beginners/ta ... /index.htm
actually comment on this, I recommend it should be noted somewhere on these pages.
Hope this helps
Michael
When the menu is placed in a table, which is e.g. 600 px wide and you specify menuwidth="100%"; then the menu "fills" the table up to its margin.
In addition there is something to consider:
I recommend to specify an individual itemwidth (item property) for each item. The total should not exceed the menuwidth (and width of the table).
Example:
Code: Select all
with(milonic=new menuname("mainmenu0")){
style=style1;
position="relative";
alwaysvisible=1;
orientation="horizontal";
menuwidth="100%";
aI("text=Home;showmenu=Home;itemwidth=100px;separatorsize=1;");
.
.
drawMenus();
http://milonic.com/menusample9.php
nor
http://milonic.com/tablemenu.php
or
http://support.milonic.com/beginners/ta ... /index.htm
actually comment on this, I recommend it should be noted somewhere on these pages.
Hope this helps
Michael
Thanks Michael!
That works great for all differnet Internet Explorer browsers and resolutions. However it is creating a problem with Mozilla Firefox.
It fills the lenght to 100% of the table for IE, and for Mozilla it then begins at the tables left as ususal and extends right all the way to the end of the entire page - not the table?
Looks like we are close, any ideas on this?
That works great for all differnet Internet Explorer browsers and resolutions. However it is creating a problem with Mozilla Firefox.
It fills the lenght to 100% of the table for IE, and for Mozilla it then begins at the tables left as ususal and extends right all the way to the end of the entire page - not the table?
Looks like we are close, any ideas on this?
menu width
Hi
well, should work with FF too (I am using 4 menus on one page, do not have problems with both browsers! But I remember, once had the same problem as you have, do not really remember, how I solved that !)
Can´t you provide a url, so I can see what it is ?
There must be something different, not only the "width".
Michael
well, should work with FF too (I am using 4 menus on one page, do not have problems with both browsers! But I remember, once had the same problem as you have, do not really remember, how I solved that !)
Can´t you provide a url, so I can see what it is ?
There must be something different, not only the "width".
Michael
Syntax error
Hi to everyone who is following
There was a syntax error which caused with FF (not so in IE) that the menuwidth set to 100% in a table was extended to the end of the page, not the table.
Hi MPS
there is another syntax error in the html code,
look at <NOSCRIPT> and the </NOSCRIPT> tags !
Michael
There was a syntax error which caused with FF (not so in IE) that the menuwidth set to 100% in a table was extended to the end of the page, not the table.
Hi MPS
there is another syntax error in the html code,
look at <NOSCRIPT> and the </NOSCRIPT> tags !
Michael