Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:31
Top Level Menu Widths?
Poster: Maze
Dated: Wednesday July 17 2002 - 15:59:19 BST
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
Poster: Andy
Dated: Wednesday July 17 2002 - 20:17:48 BST
Hi,
You can pad the menu out with non-breaking spaces.
Code:
& nbsp ;
But without the spaces
Cheers
Andy
Poster: Maze
Dated: Wednesday July 17 2002 - 20:27:20 BST
Hi Andy,
That seems to work great in IE, but fails badly in NS 4.77
Any other alternatives?
Thanks
Poster: Andy
Dated: Wednesday July 17 2002 - 20:28:50 BST
It should work fine in Netscape.
Do you have any spaces in the menu text?
- Andy
Poster: Maze
Dated: Wednesday July 17 2002 - 20:34:56 BST
Yes.
should "Benefits & Products" be "Benefits& nbsp ;&& nbsp ;Products"? without the spaces?
Poster: Andy
Dated: Wednesday July 17 2002 - 20:37:10 BST
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:
"& amp ;"
again - without the spaces.
Cheers
Andy