I'm trying to shrink the vertical size of the sub-menus in my drop down menu
Return to Recent Questions
Q:
I'm trying to shrink the vertical size of the sub-menu entries in my drop down menu:
I think I've specified all the parameters correctly in data.js,
but itÒs hard to tell what affects the height of the submenu
entries. Even reducing the type from 10pt to 8pt didnÒt shrink them
at all.
A:
See, you set the following parameter:
var itemPadding = 7;
That is why you have such a big padding around the items.
If you don't want to change the appearance of the main items you
should create Individual Style for the subitems. For example:
var menuStyles = [
["itemPadding=2px"],
];
And assign this style for the first item in submenu.
Return to Recent Questions
Related:
- March 25, 2009 - My drop down menu is fixed like a rock. It doesn't float.
- Apr 11, 2009 - I cannot see the shadow on the top items in my drop down menu example.
- Apr 28, 2009 - There is some bug with your drop down menu and Page Zoom function in IE7.
- May 16, 2009 - The alignment of the submenus is not correct in my drop down menu.
- Jun 01, 2009 - Is there any functionality for tree drop down menu to show/hide specific branches?
- Jun 19, 2009 - Will this drop down menu rollout from an Iframe over a regular frame
- Jul 06, 2009 - I can not find in DHTML Tuner how to make drop down menu multi-level or multi-column
- Jul 24, 2009 - I would like to use this drop down menu in a page containing two iFrames.
- Aug 09, 2009 - Is it possible to keep my floating drop down menu in the centre of the page like <centre></centre>
- Aug 27, 2009 - Is this drop down menu compatible under Linux?Drop down menu Linux Firefox Support
- Sep 13, 2009 - There is a gray line under the drop down menu images that makes it look broken.
|