ASP.NET 2.0 menu seperator

L

lstuyck73

Hi, I'm using a menu control that uses a SiteMapDatasource to display
menu items in a horizontal menu. I want a seperator between each menu
item. If I use the StaticBottomSeperatorImageUrl property, the
seperator is shown between each menu item but also after the last one,
which I don't want - I want only seperators between the menu items,
not before the first or after the last menu item.

Does anyone know how I can do that?

Thanks!!
 
L

Larry Bud

Hi, I'm using a menu control that uses a SiteMapDatasource to display
menu items in a horizontal menu. I want a seperator between each menu
item. If I use the StaticBottomSeperatorImageUrl property, the
seperator is shown between each menu item but also after the last one,
which I don't want - I want only seperators between the menu items,
not before the first or after the last menu item.

Does anyone know how I can do that?

Between EACH item? Separators are used to separate dissimilar items,
or to group similar items. Perhaps you need to rethink your menu
structure?

In any case, if you still want that, I'd just make a style sheet that
sets the TOP border of the menu item to a different color.
 
L

lstuyck73

Between EACH item? Separators are used to separate dissimilar items,
or to group similar items. Perhaps you need to rethink your menu
structure?

In any case, if you still want that, I'd just make a style sheet that
sets the TOP border of the menu item to a different color.

Thanks, but it's a horizontal menu with 7 different items, no
submenus. They need to be seperated by a |. Why do I have to rethink
that?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top