嗨,我需要一些幫助。該設計要求在每個菜單項之間有一個垂直行分隔符,但只有當它們未處於活動狀態時才需要。我需要從#a當前a(已完成)以及下一個a中刪除左側邊框。思考?css菜單:選擇器之後?
#topmenu ul {margin: 0 0 7px 0; width: 100%;padding: 0;}
#topmenu li {list-style: none;display: inline;margin: 0 0px;padding:15px 10px 15px 0px;
line-height:15px;text-align:center;}
#topmenu a:link, #topmenu a {color: #ffffff;text-decoration: none;margin: 0px 0px 0px 0px;
font-weight:normal;padding: 0px 5px 0px 14px;
border-left-color:#fff; border-left-style:solid;border-left-width:1px;}
#topmenu ul li.item82 a, #topmenu #current {border:none;}
#topmenu #current:after {border:none;}
#topmenu a:hover{color: #EFEFEF;}
#topmenu a:active{color: #EFEFEF;}
#topmenu #current{color: #EFEFEF;background-color:#19bcb9;-moz-border-radius-topright:4px;
-moz-border-radius-topleft:4px;
border-top-left-radius: 4px;border-top-right-radius: 4px;
-webkit-border-top-right-radius:4px;-webkit-border-top-left-radius:4px;}
<ul class="menu">
<li class="item82"><a href="/about.html"><span>About Us</span></a></li>
<li class="item62"><a href="/our-philosophy.html"><span>Our Philosophy</span></a></li>
<li class="active item54" id="current"><a href="/services.html"><span>Services</span></a></li>
<li class="item74"><a href="/soutions.html"><span>Soutions</span></a></li>
<li class="item68"><a href="/workshops.html"><span>Workshops</span></a></li>
<li class="item75"><a href="/whats-new.html"><span>What's New</span></a></li>
</ul>
只是要清楚,我需要選擇李連接AFTER李#現在,而不僅僅是李。 – prophoto