(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 make the top html button style to be the same width for each button?

Return to Recent Questions


Q: How do I make the top nav buttons exactly the same width for each button?

Total menu width is 743px and I have 6 buttons I want the width of each button to be fixed at 123px.

I set var menuWidth="743" but it averages out the buttons based on the text.


A: You should use individual item styles. For example:

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

var menuItems = [

["Home","testlink.html", , , , , "0", , , ], //style 0
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", , , "0", , , ], //style 0





Return to Recent Questions

Best 46 Fresh CSS Themes Collection AMP Mobile Page Template Review  |  Perfect Responsive JS Website Templates Review  |  Top 54 Brand New jQuery Themes List  |  46 Fantastic CSS3 Web Page Templates Overview  |  Beautiful JS Page Theme Review  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. static website generator | bootstrap popup window | formoid.com | free icon maker | free bootstrap templates