Menu/Item Height

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jhohl
Beginner
Beginner
Posts: 3
Joined: Thu Feb 23, 2006 10:13 pm

Menu/Item Height

Post by jhohl »

I cannot figure out why this menu cannot be made shorter in height. I want to make it about 75% of the current size, but no matter what I set the menuheight attribute to, it will not get any smaller. See http://www.cpspress.com/palmer/assignme ... ule_a.html for live example.

Style is:

Code: Select all

fontfamily="Verdana, Tahoma, Arial";
fontsize="10";
fontstyle="normal";
offbgcolor="#0F639F";
offcolor="#ffffff";
onbgcolor="#000000";
oncolor="#ffffff";
padding=4;
pagebgcolor="#000000";
pagecolor="ffffff";
menuheight="100";	
separatorheight=10;
itemheight=10;	
and the code to generate the menu is:

Code: Select all

menubgcolor="#000000";
alwaysvisible=1;
position="relative";
itemwidth="100%";
itemheight=10;
menualign="left";
left=10;
orientation="horizontal";
style=subMenuStyle;
aI("align=center;text=Schedule;url=timeline_schedule_a.html;");
aI("align=center;text=Correspondence;url=timeline_correspondence_a.html;");
Thanks for any help.
James R Hohl
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

menuheight="100";

is not doing anything. Take it out completely.
Try setting the fontsize to "10px" or "12px" rather than 100%, as cross browser capability then is better.
Try playin with padding=1; better than 4 or 6;
That reduces height.
Your margin setting too doesn´t seem to be useful. Check if it is necessary.

Michael
Post Reply