I'm trying to get the items in my horizontal menu to spread out evenly. using menuwidth=100% and itemwidth=100%, I've gotten them to spread out, but the spacing between the various words differs -- I suspect because the menu is setting a single width for each item based on the width of the widest item.
Is there a way to get the same amount of space between each item?
Like this:
ITEM 1 THIS IS ITEM 2 THIS IS YET A LONGER ITEM ITEM S AND A VERY LONG ITEM
Even spacing of different-sized menu items
Re: Even spacing of different-sized menu items
Oops -- sorry, my example didn't work very well because the browser ignores the extra spaces.
But hopefully my words explain it sufficiently. I want the same amount of space between the different menu items, regardless of their individual length.
John
But hopefully my words explain it sufficiently. I want the same amount of space between the different menu items, regardless of their individual length.
John
Re: Even spacing of different-sized menu items
Hi,
You can add itremwidth to your menu items to get them to use a specifieds width, something like this:
aI("text=Sample;itemwidth=200");
This will set the width to 200 pixels for the single menu item. If you want to apply an itemwidth to all meun items, you can add itemwidth to either a menus style or to the menu itself.
HTH,
Andy
You can add itremwidth to your menu items to get them to use a specifieds width, something like this:
aI("text=Sample;itemwidth=200");
This will set the width to 200 pixels for the single menu item. If you want to apply an itemwidth to all meun items, you can add itemwidth to either a menus style or to the menu itself.
HTH,
Andy