| 
       
          
                    How can I set the padding for the dhtml horizontal menu text at the top?
       
      Return to Recent Questions
 
  
Q: 
 How can I set the padding for the dhtml horizontal menu text at the top?  I want more
 padding on the left of the text but I don't want it centered.
 
  
A: 
	
 You can set bigger left padding for your Submenu Style, for example:
  
var menuStyles = [ 
    ["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 25px"], 
];
  
itemPadding=0px 5px 0px 25px 
                              top right bottom left
  
 
 
  
Return to Recent Questions
           Related: 
         
         - Sep 11, 2006 - If I use doctype the settings of the submenus in javascript dropdown menu get lost.
 - Sep 17, 2006 - How can your javascript onmouseover menu be set to open by click?
 - Sep 18, 2006 - The submenus of the cross frame menu are offset by about 100 pixels to the right.
 - Sep 26, 2006 - Is there a way to change the height of the main buttons in my simple dhtml menu.
 - Oct 07, 2006 - How do you change the back ground color of the javascript horizontal menus?
 - Oct 15, 2006 - There's some problems when we use two javascript horizontal menus.
 - Oct 16, 2006 - I need the sub menu of the drop menu to be vertical instead of horizontal
 - 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 05, 2006 - The font color doesn't change when I roll over the dhtml side menu
 - Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
           
               
   |