I'm making tabs in CSS using UL, LI and classes. I'm having problems with a border-right in a LI next to the a class I'm selecting. It shows two border lines. I want to get rid of one but don't know how to do that. The active class will change and it will need to be apply to the LI next to it and don't know how to do so. Example below.
<ul>
<li><a></a></li>
<li><a></a></li> <--- Want to change this LI.
<li class="active"><a>I'm active!</></li>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
</ul>
<ul>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li>
<li><a></a></li> <--- Want to change this LI.
<li class="active"><a>I'm active!</></li>
<li><a></a></li>
<li><a></a></li>
</ul>
Question
ACTIONpack
I'm making tabs in CSS using UL, LI and classes. I'm having problems with a border-right in a LI next to the a class I'm selecting. It shows two border lines. I want to get rid of one but don't know how to do that. The active class will change and it will need to be apply to the LI next to it and don't know how to do so. Example below.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts