is there a way to make the menu span a certain width, regardless of how short the menu actually is?
thanks,
brian[/b]
horizontal menu width
Hi Brian,
There is a menu property called menuwidth that should do the trick. You can set any numeric value (pixels) that you want, but if you set one that is too narrow to accomodate the entire menu, then the system will automatically adjust to the minimum width necessary to display the entire menu (including wrapping the text for the menu items). I would assume that the width you specify will be somewhat larger than what wuold be necessary to accomodate the menu. For example, suppose that your menu was normally 600px wide. The following
would make the menu 800px wide, adding more space to the right side. If you set menualin="center", then the additional space would be split equally between left and right sides. With menualign="right" the additional space would be added to the left side.
You can also set menuwidth="100%"; to have the system automatically add enough extra space to that the menu spans the entire width of the browser window, automatically adjusting as the user resizes the window.
Hope that helps,
Kevin
There is a menu property called menuwidth that should do the trick. You can set any numeric value (pixels) that you want, but if you set one that is too narrow to accomodate the entire menu, then the system will automatically adjust to the minimum width necessary to display the entire menu (including wrapping the text for the menu items). I would assume that the width you specify will be somewhat larger than what wuold be necessary to accomodate the menu. For example, suppose that your menu was normally 600px wide. The following
Code: Select all
menuwidth=800;
menualign="left";
You can also set menuwidth="100%"; to have the system automatically add enough extra space to that the menu spans the entire width of the browser window, automatically adjusting as the user resizes the window.
Hope that helps,
Kevin