I've got a pretty simple navbar index consisting of 4 <li>
items. I have properly styled them all, and looked back, checked to make sure everything is the way it should be.
However, for some reason a small white space appears in between all of my <li>
items for no reason.
This is what it currently looks like:
and this is the desired result:
There doesn't seem to be any fixes on the net (or at least ones that I can find).
This is my CSS and HTML:
/* relevant css */
.index-navigation {
display: inline-block;
width: auto;
height: 45px;
}
.index-navigation ul li {
display: inline-block;
width: 120px;
padding-top: 13px;
padding-bottom: 10px;
background-color: #000;
text-align: center;
}
.index-navigation ul li a {
color: #FFF;
font-size: 1.2em;
font-family: helvetica;
text-decoration: none;
}
<!-- relevant HTML !-->
<div class="index-navigation navigation-scroll">
<ul>
<li>
<a href="#">HOME</a>
</li>
<li>
<a href="#">FEATURED</a>
</li>
<li>
<a href="#">FORUMS</a>
</li>
<li>
<a href="#">SUPPORT</a>
</li>
</ul>
</div>
All help is appreciated,
Cheers