How to center a menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ldeeder
Super Advanced
Super Advanced
Posts: 30
Joined: Fri Mar 10, 2006 2:06 am

How to center a menu

Post by ldeeder »

I need to center my menu on my page. Here is the code I think controls it but all I see is left=10;

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=127;
left=10;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=default.html;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=MyMilonic;");

Help please[/b]
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

if you want it centered, remove the left= property and insert
screenposition="center";

Michael

Please see

http://milonic.com/menuproperties.php
Post Reply