When I'm set at 800x640 the menu is center on the page correctly but if I change to a higher resolution the menu is no longer centered.
I know some on this forum posted a table script that would solve this, but I have searched the postings and can't seem to find it.
Menu no longer centered when I change resolutions
A link for the page would be helpful to let people see the coding. As for putting it in a table http://milonic.com/menusample.php?sampleid=9 this is for putting the menu in a table. You might try doing a forum search on tables and see if there's any more info.
Ruth
Ruth
Hi Rudy,
If all you want to do is center your menu, you don't need to put it in a table (I would recommend that you not embed it in a table unless absolutely necessary). To center the menu, set the menu's top property to the top position you want, remove the left property altogether, and set screenposition="center"; like so:
Hope that helps,
Kevin
If all you want to do is center your menu, you don't need to put it in a table (I would recommend that you not embed it in a table unless absolutely necessary). To center the menu, set the menu's top property to the top position you want, remove the left property altogether, and set screenposition="center"; like so:
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
screenposition="center";
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://milonic.com/;status=Back To Home Page;");
.
.
.
}
Kevin
Thanks Kevin
Thanks alot Kevin
Using the "screenposition="center"; did the trick. Now no matter what screen resolution a visitors monitor is set at my menu will always be centered on the page.
Tried to do this putting it in a table, but that didn't work.
Thanks again
Using the "screenposition="center"; did the trick. Now no matter what screen resolution a visitors monitor is set at my menu will always be centered on the page.
Tried to do this putting it in a table, but that didn't work.
Thanks again
Rudy, you've got some pretty basic questions posted all over the place, which is fine - we're here to help. However, most of what you have asked can be found by doing some reading. See http://milonic.com/forum/viewtopic.php?t=2981.
John