I'm trying to have separators between my nav items and i've never had any luck. I finally figured out a way to only have borders between items but now they're stuck on the far right. I want them centered between the items. I can't figure out how to best word this question so I can't find answers online.
* {
margin: 0;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
}
#signature {
width: 300px;
display: inline-block;
margin-top: 100px;
margin-left: 150px;
}
nav {
display: flex;
justify-content: space-around;
}
ul {
list-style-type: none;
display: flex;
margin-top: 130px;
}
nav a {
text-decoration: none;
margin-right: 150px;
}
nav ul li {
border-right: 1px solid #000;
}
nav ul li:last-of-type {
border-right: none;
}
nav ul ul li {
border-right: none;
}
<header>
<img id="signature" src="img/signature.png">
<nav>
<ul>
<li><a>Home</a></li>
<li><a>About</a></li>
<li><a>Portfolio</a></li>
<li><a>Contact</a></li>
</ul>
</nav>
</header>
side-note - if my code shows signs of sloppiness or bad habits please call them out thanks