(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'm creating a "Clear" style dhtml menu and for whatever reason it automatically spaces the menu items unevenly. For the life of me I can't figure out how to set the spacing evenly.

Return to Recent Questions


Q: I'm creating a "Clear" style dhtml menu and for whatever reason it automatically spaces the menu items unevenly.
For the life of me I can't figure out how to set the spacing evenly.

A: Try to set exact width for each top item using Individual Item Styles:

var itemStyles = [["itemWidth=120px"],];

var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", ],
["Item 2","", "", "", "", "", "0", "", "", ],
["Item 3","", "", "", "", "", "0", "", "", ],
["Item 4","", "", "", "", "", "0", "", "", ],
["Item 5","", "", "", "", "", "0", "", "", ],
];






Return to Recent Questions

Related:
Bootstrap Collapse Toggle Bootstrap List View  |  Bootstrap Form Button  |  Bootstrap Carousel Example  |  Bootstrap Icons Button  |  Bootstrap Glyphicons List  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. de | it | web editor | bootstrap navbar examples | free bootstrap template