Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:54
separatorsize, and messing up menu length
Poster: kevdog98
Dated: Monday September 25 2006 - 22:45:39 BST
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]