How do I get line breaks in a menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Terry Ally
Beginner
Beginner
Posts: 7
Joined: Sun Sep 14, 2003 6:29 pm

How do I get line breaks in a menu

Post by Terry Ally »

The horizontal menu that I am using is stretching too far across the page and I want to insert line breaks to get about three lines. How do I do that??


Terry
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I assume you mean breaks in the menu text, correct? If so, just like HTML - use a <br> where needed...

Code: Select all

aI("text=Student Affairs<br>&nbsp;&nbsp;Suggestion Box;url=/sai/staff/comments/;image=/sai/graphics/xpblank.gif;status=Student Affairs Suggestion Box;");
I use the &nbsp; just to indent the following lines a bit. Up to you.
John
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

Post by 4viggo »

Well I think you are looking for the same possibility as I am. If the horizontal menu is too wide to fit on the screen you would like it to wrap or have the possibility to do so.
If it's your main menu you can always add 2 menus one above the other, but if it's a submenu it's apparently not possible at the moment. Have a look at the following tread:
http://www.milonic.co.uk/forum/viewtopi ... c1b6a0b63c

regards
4viggo
Post Reply