(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    I canít seem to figure out how to specify the width of individual horizontal menu items for the html menu.

Return to Recent Questions


Q: I canít seem to figure out how to specify the width of individual horizontal menu items for the html menu. I would like to specify that each menu item on the horizontal take up just 113px regardless of the number of characters in the item. Is there a way of doing that?

A: You should use var itemStyles to set an individual item style. For example:

var itemStyles = [
["itemWidth=113px"]
];
var menuItems = [
["text 1", "link", "icon1", "icon2", "tip", "target", "0"],
["text 2", "link", "icon1", "icon2", "tip", "target", "0"],
["text 3", "link", "icon1", "icon2", "tip", "target", "0"],
];

Where "0" - style number in itemStyles that contains the parameters for items width.

Use Deluxe Tuner GUI to create and assign individual styles.






Return to Recent Questions

Related:
Bootstrap Glyphicons List Bootstrap Image Gallery  |  Bootstrap Form Button  |  Bootstrap Grid Tutorial  |  Bootstrap Accordion Table  |  Bootstrap Checkbox Label  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. easy website builder software | formoid.com | bootstrap website builder | css menu | css menu maker