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

horiztonal menu w/ horizontal subs - center links? [solved]


Poster: nwilcox
Dated: Wednesday January 31 2007 - 17:27:04 GMT

LINK REMOVED

I have a horizontal menu system using a horizontal sub menu structure

I'd like to be able to have the text links in the sub menu come up in the center of the menu block.

I've tried using type=header for a spacer elmeent but the menu will be dynamic so this solution really isn't going to work.

Is there a property or style that I can apply on the submenu items that will make them display in the center of the blur bar?

Thanks!


Poster: Ruth
Dated: Wednesday January 31 2007 - 19:14:03 GMT

Hi,

Try using menualign='center'; in the submenus. That will shift the submenu items to the center of your black span. If you want to spread them out a bit you'll need to but an itemwidth as an example the following would shift the items almost all the way across that black span.

Code:
with(milonic=new menuname("is")){
orientation="horizontal";
style=menuStyleSub;
menuwidth="785px";
menuheight="22px";
menualign='center';
itemwidth=80;


Hope this helps.

Ruth


Poster: nwilcox
Dated: Wednesday January 31 2007 - 19:37:56 GMT

thanks Ruth... I'll give that a shot!


Poster: nwilcox
Dated: Wednesday January 31 2007 - 20:58:57 GMT

worked like a champ Great find!

I couldn't find that property in the documentation.