I'm having issues with excess space to the left of my header.
I had the same problem with my footer as well using <nav>
and <ul>
, but edited this to only using <a>
elements instead, and this seemed to do the trick. I would, however, like to keep the <nav>
in the header, and preferably without using negative margin-left
.
https://jsfiddle.net/thereseel/d75jurzy/6/
<header>
<nav>
<ul class="mainnav">
<li><a href="#">Home</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Logo</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Location</a></li>
</ul>
</nav>
</header>