(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    How do I make the top html dynamic menu item style to be the same width for each item?

Return to Recent Questions


Q: How do I make the top html dynamic menu items to be the same width for each button?

Total html dynamic 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 the width of each button based on its 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","", "menu.files/icon1.gif", "menu.files/icon1o.gif", , , "0", , , ], //style 0





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap form | CSS Menu Examples | Ajax Grid | Web Photo Gallery | jQuery Image Slider