Top Level Menu Widths?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
Maze
Beginner
Beginner
Posts: 6
Joined: Tue Jul 16, 2002 5:18 pm

Top Level Menu Widths?

Post by Maze »

Is there a way to control the individual menu "button" widths for the top level?

For instance, if I have 5 menu "buttons" and I want 4 of them to be the same width, but want 1 of them to be wider (because the text in the button is longer), is that possible? I'd like 4 buttons to be 100 wide and 1 button to be 150 wide.

All I see in the "menu_array.js" is the ability to control the overall menu width, and not individual widths.

Noticed that you can control the width of the submenu dropdowns, but doesn't look like the top level gives you the same flexibility.

All/any help would be greatly appreciated.

Thanks
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

You can pad the menu out with non-breaking spaces.

Code: Select all

& nbsp ; 


But without the spaces

Cheers
Andy
Maze
Beginner
Beginner
Posts: 6
Joined: Tue Jul 16, 2002 5:18 pm

Post by Maze »

Hi Andy,

That seems to work great in IE, but fails badly in NS 4.77

Any other alternatives?

Thanks
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

It should work fine in Netscape.

Do you have any spaces in the menu text?

- Andy
Maze
Beginner
Beginner
Posts: 6
Joined: Tue Jul 16, 2002 5:18 pm

Post by Maze »

Yes.

should "Benefits & Products" be "Benefits& nbsp ;&& nbsp ;Products"? without the spaces?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Yes.

The reason I put the spaces in was because the browser would have interpreted it as a blank space.

"Benefits & Products" should work fine but you might have trouble with the ampersand. If you do use

Code: Select all

"& amp ;"
again - without the spaces.

Cheers
Andy
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Yes.

The reason I put the spaces in was because the browser would have interpreted it as a blank space.

"Benefits & Products" should work fine but you might have trouble with the ampersand. If you do use &.

Cheers
Andy
Maze
Beginner
Beginner
Posts: 6
Joined: Tue Jul 16, 2002 5:18 pm

Post by Maze »

Beautiful, it works! :D

Much thanks Andy.

Maze
Post Reply