(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    How do I add more space between the top items in my dropdown menu css?

Return to Recent Questions


Q: How do I add more space between the top dropdown menu css items?

I have tried adding to the Item Appearance, itemSpacing and itemPadding.


A: You can try to paste a separator in the dropdown menu css.
See the following parameters:

//------- Separators -------
var separatorWidth = "10";
var separatorHeight = "20";
var separatorAlignment = "center";
var separatorImage = "C";
var separatorVWidth = "150";
var separatorVHeight = "10%";
var separatorVImage = "image.jpg";

You should also add separators within menuItems:

var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];

You can also set multiple values for the following parameter:

var itemPadding = "2px 15px 5px 5px";

(top, right, bottom, left)





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap parallax | bootstrap theme builder | html website maker | best website builder software | bootstrap navbar