i apologise for asking such a basic question, but I have followed the instructons in the FAQs and I am still struggling to get my menu centered on the page.
the menu_data.js file contains the following:
with(menuStyle=new mm_style()){
styleid=1;
fontfamily="Verdana, Tahoma, Arial";
fontsize="10pt";
offcolor="#000000";
oncolor="#000000";
rawcss="padding-left:27px;padding-right:27px";
separatorimage="disco_sep.gif";
separatorsize=1;
}
with(milonic=new menuname("Main Menu")){
screenposition="center";
alwaysvisible=1;
itemheight=31;
itemwidth=100;
left=10;
orientation="horizontal";
style=menuStyle;
top=10;
aI("align=center;bgimage=disco_left.gif;text=Home;url=http://milonic.com/;");
aI("align=center;bgimage=disco_mid.gif;showmenu=Milonic;text=Teams;");
aI("align=center;bgimage=disco_mid.gif;showmenu=Partners;text=Contacts;");
aI("align=center;bgimage=disco_mid.gif;showmenu=Links;text=Links;");
aI("align=center;bgimage=disco_mid.gif;showmenu=MyMilonic;text=MyMilonic;");
aI("align=center;bgimage=disco_right.gif;text=Search;");
}
This is downloaded only today and is showing fine on the page but just to the left rather than in the center.
Thank you to anyone who will help with this basic problem
Julia
centrally positioning a menu
Hi,
If you take a look below my name you'll see some links, the bottom 3 go to the various properties available either for styles of menus [style properties], positioning, margin visibility and other menu related items [menu properties] or styles that can be set up for individual items [item properties].
Ruth
Your menu shows top=10;left=10; if you want it centered remove the left=10 and use screenposition="center"; Then set the top= to whatever the top position you want if 10 is not correct.juliaw wrote:i apologise for asking such a basic question, but I have followed the instructons in the FAQs and I am still struggling to get my menu centered on the page.
If you take a look below my name you'll see some links, the bottom 3 go to the various properties available either for styles of menus [style properties], positioning, margin visibility and other menu related items [menu properties] or styles that can be set up for individual items [item properties].
Ruth