Here is the HTML code snippet I am working with:
<div class="nav">
<ul class="nav-dots">
<li class='ni n1'><a href="" class='nia'>dot</a></li>
<li class='ni n2'><a href="" class='nia'>dot</a></li>
<li class='ni n3'><a href="" class='nia'>dot</a></li>
</ul>
</div>
There is some CSS that goes along with the HTML code:
.nav-dots {
display: inline-block;
}
Although the <li>
elements are supposed to display inline, they are not. I'm unsure about what's causing this issue. How can I go about fixing it?
I have created a jsfiddle for reference.