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

100% Width Span Menu

Poster: leatkins
Dated: Thursday December 11 2003 - 14:26:03 GMT

I was wondering if it was possible when setting the width of a vertical menu to somehow tell the menu items to exand out to fill the width of the menu as well?


Poster: John
Dated: Thursday December 11 2003 - 22:28:40 GMT

Maybe I'm just having a bad day (actually I am!), but what you're asking is not getting through to me. :? Care to try again, or post a URL so we can see what's happening?

Poster: Maz
Dated: Friday December 12 2003 - 6:59:51 GMT

I'll take a guess its a horizontal menu :D

Or we might be talking about a new type of website 100% menu. ;)


100% Width Span Menu

Poster: leatkins
Dated: Friday December 12 2003 - 19:51:04 GMT

Sorry, I meant horizontal menu.

What I want to do is have a horizontal menu that spans the whole width of the screen. But I only have 5 items in the menu (help, tools, about, ...). When I use the span = 100% the background colour of the menu spans across the whole screen, but there is a big space after the last menu item. I know that I can specify the alignment of the menu items, and if I set it to align = centre I have a large space before the first item and after the last item.

So I was wondering if the width of each menu item could expand out as well to fill the whole space of the horizontal menu.

Hopefully this post is clearer :D


Poster: Maz
Dated: Friday December 12 2003 - 21:45:53 GMT

I haven't tried this with the menu since way..back.

However, I use tables to do this, the first and last cell are empty to stretch the page, while the table link cells have a strict width.

I'm not sure how this will work; try making the first and last (empty space   & n b s p ; [without spaces or you wouldn't see it here]) type=header, the menu items a fixed width and see what happens.


Poster: John
Dated: Friday December 12 2003 - 23:13:33 GMT might be an interesting place to start!

Poster: Ruth
Dated: Saturday December 13 2003 - 12:42:14 GMT

The following seems to work in Netscape 6,7, IE 5.0 and Opera 6, but not Opera 7. Others would have to test other browsers.


100% Width Span Menu

Poster: leatkins
Dated: Monday December 15 2003 - 15:45:49 GMT

Thanks Ruth it worked perfectly. That's exactly what I was looking for!


Poster: halcyon
Dated: Tuesday January 6 2004 - 22:28:55 GMT

itemwidth="100%"; seems to be the essential piece.. I had the same problem with just menuwidth set to 100%.. add item width and your in business.