> > From: Kelly Moore
> > So I have a list links, separated by a pipe, a la alistapart.  My 
> > issue, the pipes are so darned tall!  Odd from a design perspective.
> > Is there a way to set a height to 'border-left' ?

> From: Adam Ducker
> Pipes are always too tall for me too.  One solution I've used 
> in the past is to put the pipe in span, and change the font 
> or top position of that span.  A little extra markup, but 
> easier on the eyes.

Excellent idea. So the markup could just be:

  <div class="footer-links">
    <a>One</a><span>|</span><a>Two</a><span>|</span><a>Three</a>
  </div>

(with all the href= and stuff, of course)

And you style it with:

  .footer-links a { whatever }
  .footer-lines span { whatever }

You hardly need any CSS at all this way, just the height on the spans and a
bit of left-right margin or padding.

-Mike

______________________________________________________________________
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