center menu images does not work

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Armin
Advanced
Advanced
Posts: 16
Joined: Tue Sep 28, 2004 11:12 pm

center menu images does not work

Post by Armin »

I have some menu images on our page. I can´t get them to center. Even the text is centered. I checked the size of the images and they are fine, exact in the center.

the url is http://www2.cai.org.au/en/sus/sus.htm - the left menu

Would be great if somebody could help me on this - Thanks - Armin


_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset


with(menuStyle=new mm_style()){
onbgcolor="#ffffff";
oncolor="#3366ff";
offbgcolor="#ffffff";
offcolor="#3366ff";
offborder="0px solid #4242ff";
onborder="0px solid #4242ff";
padding=3;
borderwidth=2;
separatorcolor="#2D729D";
separatorsize="1";
fontsize="70%";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";

pagebgcolor="#transparent";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="../css-se/menuimage/arrow.gif";
subimagepadding="2";
itemwidth="60";

}


with(milonic=new menuname("Leftmenu")){
style=menuStyle;
top=150;
left=20;
alwaysvisible=1;
followscroll=1;
overflow="scroll";
align="center";
aI("text=Sunday School;type=header;fontweight=bold;fontsize=12px;headerbgcolor=#4242ff;headercolor=#FFFFFF;");
aI("image=../../images/sus/images/icons/home1.gif;url=sus.htm;");
aI("text=Main Page;url=sus.htm;");
aI("image=../../images/sus/images/icons/sundayschool1.gif;url=sus-infoparents.htm;");
aI("text=Info for parents;url=sus-infoparents.htm");
aI("image=../../images/sus/images/icons/photos1.gif;url=sus-photos.htm;");
aI("text=Photos;url=sus-photos.htm;");
aI("image=../../images/sus/images/icons/jesusinside1.gif;url=sus-jesusinside.htm;");
aI("text=Media Links;url=sus-jesusinside.htm;");
aI("image=../../images/sus/images/icons/testimonies.gif;url=sus-testimonies.htm;");
aI("text=Testimonies;url=sus-testimonies.htm;");
}

drawMenus();
Post Reply