How to keep fixed width horizontal from collapsing

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pxb
Beginner
Beginner
Posts: 4
Joined: Sun Feb 15, 2004 3:41 am

How to keep fixed width horizontal from collapsing

Post by pxb »

By default the basic horizontal menu does not wrap. That is, if one shrinks the browser window to be narrower than the menu then part of the menu is not visible.

So far so good. But if I use either menuwidth or itemwidth to control the size of the menu then the menu will wrap. How can you control the menu or item widths yet prevent wrapping?

Thanks,

Paul
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I just tested 5.742 in IE and FF setting menuwidth="720px"; itemwidth="120px"; and when I made the browsers smaller the menu did not wrap.

Then I set the menuwidth="700px"; and instead of putting itemwidth in the menu, I put it in each item making them different sizes. The menu still did not wrap.

There is also a property available called minwidth [I think that's the name] Below my name is a list of links, one is for menuproperties you should find it there. It is supposed to be a minimum width setting for the menu so it doesn't get smaller than that minimum width.

Ruth
Post Reply