I was wondering if it was possible when setting the width of a vertical menu to somehow tell the menu items to exand out to fill the width of the menu as well?
Thanks!
Laura
100% Width Span Menu
100% Width Span Menu
Sorry, I meant horizontal menu.
What I want to do is have a horizontal menu that spans the whole width of the screen. But I only have 5 items in the menu (help, tools, about, ...). When I use the span = 100% the background colour of the menu spans across the whole screen, but there is a big space after the last menu item. I know that I can specify the alignment of the menu items, and if I set it to align = centre I have a large space before the first item and after the last item.
So I was wondering if the width of each menu item could expand out as well to fill the whole space of the horizontal menu.
Hopefully this post is clearer
Laura
What I want to do is have a horizontal menu that spans the whole width of the screen. But I only have 5 items in the menu (help, tools, about, ...). When I use the span = 100% the background colour of the menu spans across the whole screen, but there is a big space after the last menu item. I know that I can specify the alignment of the menu items, and if I set it to align = centre I have a large space before the first item and after the last item.
So I was wondering if the width of each menu item could expand out as well to fill the whole space of the horizontal menu.
Hopefully this post is clearer
Laura
I haven't tried this with the menu since way..back.
However, I use tables to do this, the first and last cell are empty to stretch the page, while the table link cells have a strict width.
I'm not sure how this will work; try making the first and last (empty space & n b s p ; [without spaces or you wouldn't see it here]) type=header, the menu items a fixed width and see what happens.
Regards,
maz
However, I use tables to do this, the first and last cell are empty to stretch the page, while the table link cells have a strict width.
I'm not sure how this will work; try making the first and last (empty space & n b s p ; [without spaces or you wouldn't see it here]) type=header, the menu items a fixed width and see what happens.
Regards,
maz
The following seems to work in Netscape 6,7, IE 5.0 and Opera 6, but not Opera 7. Others would have to test other browsers.
Ruth
Code: Select all
style=whatever;
menuwidth="100%";
itemwidth="100%";
alwaysvisible=1;
orientation="horizontal";
100% Width Span Menu
Thanks Ruth it worked perfectly. That's exactly what I was looking for!
Laura
Laura