(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

Splendid JS Design Maker Overview Beautiful JS Page Theme Review  |  Magical HTML Bootstrap Slider With Text Templates  |  Perfect Responsive JS Website Templates Review  |  30+ Top Innovative Software Company Website Template List  |  How to Make a Webpage - Step by Step Tutorial  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. mobirise builder | free web design software | bootstrap popup | free website generator | css3 menu