While using an arrow.gif as a subimage, I can get the submenu to display the subimage.
However, when I have a submenu that contains both a subimage for one menu item and no subimage for another menu item, the padding (controlled by the the SubMenuStyle parameters) is ignored for the submenu items with the arrow subimage.
I would like the left side alignment to be consistent - as on the Milonic.com home page main menu --> DHTML Menu --> Page Integration
(no subimage) vs. DHTML Menu --> Menu Quick Reference Guides (with subimage)
My code is:
with(SubMenuStyle=new mm_style()){
onbgcolor="#D96002";
oncolor="#FFFFFF";
offbgcolor="#FCDE60";
offcolor="#000000";
borderstyle="solid";
borderwidth=0;
fontsize="10";
padding="3 12 3 12";
fontstyle="normal";
fontfamily="Arial,Helvetica,sans-serif";
subimage="images/menu/arrow.gif";
subimagepadding="2";
}
Thanks very much for your help.
K
SubImage Padding / Alignment
Try
Ruth
Code: Select all
padding="3px 12px 3px 12px";