Make separate classes for the oddball menu item...

.menu_border {border-right: 1px solid;}
.menu_border_last {border-right: none;}

or adversely

.menu_border {border-left: 1px solid;}
.menu_border_first {border-left: none;}

Mike

-----Original Message-----
From: MEM [mailto:[EMAIL PROTECTED] 

Hi all,

I need to have a horizontal menu like this:

Item1 | Item2 | Item3

Note that, at the beginning and at the end of the list there is no |.
So, I only need them in the middle.

If we apply all border-left: 1px, solid; then, Item3 will get a |.
If we apply all border-right: 1px, solid; then, Item1 will get a |.

How can we define borders only in the middle item like this:
Item1 | Item2 | Item3
?

Thanks a lot,
Márcio


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to