Thanks so much, Kata. I will try this! I am getting 2 of each emails from the list. Is this happening to others as well?
Rory -------------------------- Rory Bernstein : Web Developer [email protected] http://www.rorybernstein.com On Mar 25, 2010, at 10:36 AM, Krupa Anna Katalin wrote: > Hi, > > give border for <a>, not for li > a { > display: block; > border-right: 1px solid #fff; > } > because of display: block for <a>, <a> will get width: 100% automatically; > and you can give height for <a> or padding, to style that, if you need. > > and li don't need display: inline, > because display default value for <li> is inline. > > Kata > > > Rory Bernstein wrote: >> Hello, >> >> http://dev.bossyfrog.com/ >> >> I have a blue, horizontal nav bar on my site, the URL is above. You will see >> that there are white borders that separate the items on the nav bar. They >> are coded as an unordered list. The rule for the border is included in this >> style info below: >> >> .nav li { >> border-right:1px solid #FFFFFF; >> color:#FFFFFF; >> display:inline; >> font-family:Verdana,Geneva,sans-serif; >> font-size:1em; >> margin:0; >> padding:0 10px; >> } >> >> I want the borders to be centered vertically, in line with the text-images. >> How can I move those borders up so that they line up correctly? >> >> Thanks! >> Rory >> ______________________________________________________________________ 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/
