separatorsize, and messing up menu length

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kevdog98
Super Advanced
Super Advanced
Posts: 36
Joined: Tue Sep 12, 2006 3:27 pm

separatorsize, and messing up menu length

Post by kevdog98 »

Hi,

I have a problem when I try to remove the separatorsize from my menu. When I remove it it looks like this. It does not display themenu at the correct width

http://www.upc.org/mis1.jpg

and my code looks like this:

with(menuStyle=new mm_style()){
fontfamily="Trebuchet MS";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#3399CC";
offcolor="#FFFFFF";
onbgcolor="#297AB8";
oncolor="#FFFFFF";
pagebgcolor="#82B6D7";
pagecolor="black";
padding=4;
subimage="transparent.gif";
itemheight=30;
itemwidth=114;
}



When I do not remove it the with of the menu is correct but it adds the white separators I do not want.


http://www.upc.org/mis2.jpg


And my code loos like this:


with(menuStyle=new mm_style()){
fontfamily="Trebuchet MS";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#3399CC";
offcolor="#FFFFFF";
onbgcolor="#297AB8";
oncolor="#FFFFFF";
pagebgcolor="#82B6D7";
pagecolor="black";
padding=4;
separatorcolor="#FFFFFF";
separatorsize=0;
subimage="transparent.gif";
itemheight=30;
itemwidth=114;
}


What am I doing wrong? How can I remove the separatorsize and still have my menu display the correct width?


Thank You,

Kevin

[/url]
kevdog98
Super Advanced
Super Advanced
Posts: 36
Joined: Tue Sep 12, 2006 3:27 pm

Post by kevdog98 »

I figured it out, Thanks.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Great! Glad to hear it.

Enjoy the system...
John
Post Reply