Yes, you can use a border.

Basically just do

ul.mylist li {
  float: left;
  border-left: 1px solid black;
  margin: 0 0 0 5px;
  padding: 0 0 0 5px;
}

And then, you can get rid of the one at the beginner (fence post
effect) by just flagging that item in your markup and doing:

ul.mylist li.first { border: none }

More info here: http://www.alistapart.com/articles/taminglists/

Mike


On 7/12/06, cj <[EMAIL PROTECTED]> wrote:
> On 7/12/06, Brian Cummiskey <[EMAIL PROTECTED]> wrote:
> > Issue 2b:
> >
> > Also on this footer list, I'm using pipes as list elements, and i'd like
> > to get away from this.
> > ie:
> > <li>one</li>
> > <li>|</li>
> > <li>two</li>
> >
> > I would like to maintain the pipe separator, but realize that this is
> > poor semantics.  Since the elements are written dynamically (login vs
> > logout links, and the admin panel link if logged in as admin) i need to
> > include the pipe on a per-element basis and i'm not sure how to go about
> > this.
>
> quick question:  do you *have* to have the actual pipe character or
> simply something that *looks* like a pipe character?  in other words,
> would a border work instead?
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
> List wiki/FAQ -- http://css-discuss.incutio.com/
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to