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


 

    How do I allocate the width of each "button" in dhtml menu navigation

Return to Recent Questions


Q: I got it working however I have an additional question.

How do I allocate the width of each "button" see sample how for instance the "FAQ" button is so narrow compared to others. I tried adding spaces with no result.

A: You can use Individual Item Styles to set exact width for the menu items.

For example:

var itemStyles = [
["itemWidth=100px"], //style 0
];

var menuItems = [

["Home","testlink.html", "", "", "", "", "0", "", "", ], //style 0
["Product Info","", "", "", "", "", "0", "", "", ], //style 0







Return to Recent Questions

Related:
Bootstrap Checkbox Label Bootstrap Form Button  |  Bootstrap Accordion Table  |  Bootstrap Grid Tutorial  |  Bootstrap Columns Mobile  |  Bootstrap Image Gallery  | 
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 | Free AI Website Builder | AI Website Generator | AI web design generator | AI web page design generator