(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

15 Recommended Website Makers Arranged by Level Of Popularity 30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Mobile-friendly Page Maker  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  Responsive Website Maker  | 
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 | Best AI Website Builder | Free AI Website Generator | AI Website Generator | AI web design generator