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

vertical align attributes for text in menu items not working

Poster: cubefree
Dated: Wednesday August 18 2004 - 3:02:14 BST

I dowloaded the sample, Horizontal Navigational Menu in .zip format

And replaced the 'Menu Samples' item code with the following:

aI("text=Menu Samples Gets alot bigger;itemwidth=75;showmenu=Samples;");

Notice, the "Home" aI element it drops to the middle of the box.

I then experimented with:

aI("text=Home;url=;status=Back To Home Page;valign='top';");

but could not get it to the top... I've had problems with this attribute in many of my applications of the product. Removing the style sheet did NOT affect the problem either.

Frustrating when properties don't affect the menu...

Poster: John
Dated: Wednesday August 18 2004 - 14:56:39 BST

Try removing the ' ' around 'top'.

Poster: cubefree
Dated: Wednesday August 18 2004 - 16:56:33 BST

No effect.

aI("text=Home;url=;status=Back To Home Page;valign=top;");

Poster: John
Dated: Thursday August 19 2004 - 14:38:44 BST

Try v5.42.

vertical alignment issue

Poster: darrennye
Dated: Friday August 20 2004 - 16:38:25 BST

I'm having a similar issue.

When I was using an older version 5 (I don't recall which version), all the text that appears in the menu bar at, was vertically aligned in the middle.

Since upgrading to the latest Milonic, the "Home" and "Links" are vertically aligned in the middle, but the "About Us" and "Get Involved" are vertically aligned to the top.

I have just tried adding various combinations of the valign="middle"; or valign=middle; but nothing changed the verticial alignment. In addition, leaving out the quotes as suggested above, caused other color problems with the menu.

Here's the main HTML for calling the menu, which is in a table on the page:

<td width="750" height="39" align="center" nowrap bgcolor="000066">
with(milonic=new menuname("Main Menu")){
aI("text=Home;url=/index.shtml;status=Back To Home Page;");
aI("text=About Us;showmenu=AboutUs;");
aI("text=Calendar & Events;url=/events/index.shtml;");
aI("text=Programs & Services;showmenu=ProgramsServices;");
aI("text=News & Publications;url=/newspublications/index.shtml;");
aI("text=Get Involved;showmenu=GetInvolved;");