(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 Checkbox Label Bootstrap Offset Usage  |  Bootstrap Sidebar Dropdown  |  Bootstrap Menu Responsive  |  Bootstrap Columns Mobile  |  Bootstrap Radio Set  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Generator | AI Website Generator | Website Generator AI | AI web design generator