It's best to style this using CSS... instead of inserting a pipe character, you style a border on on side of your list items, for example, something like:
If you wish, there is also another (?older?) way.
You can define "custom" theme function which can insert "pipe" character between links in your menu items. This function should be defined in template.php file.
Well that css gets rid of all the borders. What I meant exactly was to get rid of the left border of the first menu item and the right border of the last menu item.
Comments
Best to use CSS
It's best to style this using CSS... instead of inserting a pipe character, you style a border on on side of your list items, for example, something like:
ul.primary-links li {
border:1px solid #000;
border-width: 0 1px 0 0;
}
ul.primary-link li.last {
border-width:0;
}
css is the best way
If you wish, there is also another (?older?) way.
You can define "custom" theme function which can insert "pipe" character between links in your menu items. This function should be defined in template.php file.
But, css is better (the best) way.
---
themegarden.org
Where exactly would you put
Where exactly would you put this css? in the tabs.css for jstools?
I'm sorry this thread is
I'm sorry this thread is over a year old but how can I get rid of the first and and the last borders of the menu?
does not seem to work for me.
ul.primary-link li {border:
That may be what you're looking for.
___________________
Preston So
Web/Print Designer
Monarch Digital, Colorado Springs
My near-dead non-Drupal site
___________________
Preston So
Well that css gets rid of
Well that css gets rid of all the borders. What I meant exactly was to get rid of the left border of the first menu item and the right border of the last menu item.
ul.primary-link li.last
___________________
Preston So
Web/Print Designer
Monarch Digital, Colorado Springs
My near-dead non-Drupal site
___________________
Preston So