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

    How do I add more space between the top items in my html menu generator?

Return to Recent Questions

Q: How do I add more space between the top html menu generator items?

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

A: You can try to paste a separator in the html menu generator.
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

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap 4 | website builder review | mobiele website bouwen | best web design software | easy free website builder