Here is the HTML and CSS code snippet:
.navi ul li {
float:left;
list-style-type: none;
border-right: 1px solid #c0c0c0;
margin:0px 0 0 0;
}
.navi ul li:last-child {
border:none;
}
.navi ul li a {
display:block;
margin:0 20px;
text-decoration: none;
color:black;
}
#info {
display:block;
margin:0px 20px 0px;
text-decoration: none;
font-size:80%;
color:gray;
}
<div class="navi">
<ul>
<li><a href="#">MANUALS</a></li>
<li><a href="#">NEWS</a></li>
<li><a href="">SPARE PART</a></li>
<li><a href="">WHERE TO BUY</a></li>
<li><a href="#">SUPPORT</a></li>
<li><a href="#">EDIT BOOK</a></li>
<li><span id="info">Hi, Guest</span></li>
<li><a href="#" id="login">LOG IN</a></li>
</ul>
</div>
I am looking to resize the font size of the items within the li
elements, but I have noticed that when I do so, the right border also changes along with it.
Is there a way for me to keep the right border of the "Hi, Guest" element the same size as the others when adjusting the font size?