Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:34

ASP Database Driven Menu & Menu Height


Poster: steveclements
Dated: Wednesday April 7 2004 - 11:37:27 BST

I am having a problem with setting the Menu height on a database driven menu I have just created (my first).

I am using the example found in the forums (very thankful that is there) but cannot find how to fix the height of the whole menu.

I require a horizontal fixed width menu where two of the menu items wrap to two lines. Increasing the padding sort of solves the height problem but pushes the width to far out.

Looking through the FAQs and forums I see there is a menuheight property (item 24 in the Menu properties FAQ) but comparing this FAQ to the example menu the properties don't line up.

ANy help would be most appreciated as I am getting a sore head from banging against this brick wall :(


Poster: John
Dated: Wednesday April 7 2004 - 14:47:41 BST

Without being able to see it (which is why we ask for a URL), it's tough to understand exactly what you're after.

steveclements wrote:
I require a horizontal fixed width menu where two of the menu items wrap to two lines.

OK, does that mean the 2 items are not wrapping as you want/need? If so, just do this...
Code:
aI(text="Wrap<br>Me;more stuff...;");

This will, of course, increase your menu height.


Poster: Ruth
Dated: Wednesday April 7 2004 - 14:48:17 BST

I just always use itemheight= which seems to work. However, if you have two items that wrap, then that might not function properly. You could i believe declare a css style padding, I've never done it so not sure on the coding, but something like padding="4 1 4 1"; padding specifies from top to right to bottom to left, so that would make the top and bottom padding 4 and the right and left 1. I believe that is the correct method.

Ruth