|
|
We are using <br> as the menu text is too long but the problem we are facing is the space between two line of web menu text.
Return to Recent Questions
Q:
We are using Deluxe Menu for our website. When developing a new menu with longer text we are facing an issue.
JS Code for a menu item (Ajax technology):
[' Introduction &<br>Search Terms',
'/TeachingLaw/Courses/LegalRsrchWriting/AmySloan/Room1/','','' ,'' ,'' ,'' ,''
,'/TeachingLaw/DeluxeMenu/AmySloan/Room1.js',],
Code as above is used to create a the following menu:
We are using <br> as the menu text is too long but the problem we are facing is the space between two line of web menu text.
Can you please let me know how we can reduce the space?
A:
You can write your text in the following way:
["<div style='line-height: 10px'> Introduction &<br>Search Terms</div>",
"/TeachingLaw/Courses/LegalRsrchWriting/AmySloan/Room1/","","","","" ,"" ,""
,"/TeachingLaw/DeluxeMenu/AmySloan/Room1.js",],
or
['<div style="line-height: 10px"> Introduction &<br>Search Terms</div>', '/TeachingLaw/Courses/LegalRsrchWriting/AmySloan/Room1/','','' ,'' ,'' ,'' ,''
,'/TeachingLaw/DeluxeMenu/AmySloan/Room1.js',],
Return to Recent Questions
Related:
- Aug 28, 2006 - Top menu in a 6x4 cell layout (effectively a rectangle)
- Sep 02, 2006 - Little vertical spacers between menu items in the drop down menu.
- Sep 29, 2006 - Is it possible to use an external file in the java drop down menu?
- Oct 13, 2006 - Under the menu images there is a gray line that makes it look broken.
- Oct 15, 2006 - There's some problems when we use two javascript horizontal menus.
- Oct 27, 2006 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my dhtml dropdown menu are not visible
- Oct 30, 2006 - I don't see on my website dhtml mouseover menu that I saw on my local machine.
- Nov 19, 2006 - Can I create a javascript menu code with one line of the subitems?
- Nov 23, 2006 - It is possible to have context menu work with your tree menu dhtml?
- Dec 09, 2006 - Is there any way to change the font size of the secondary and tertiary links in menu.js?
- Dec 11, 2006 - How to add the new items to the dhtml vertical menu without using two data.js files?
|