Representation of Navigation layout
Hi. I'm struggling with writing the code for the navigation layout in the picture (above). I want the logo, which is a picture, to be on the left and the menu links in the center. How would that be written in CSS?
This is the HTML for that part:
<header id="header">
<div class="img">
<a href="landingpage.html"><img src="/logo.png" alt="image of the logo" id="header-img" width="175px" height="52px"></a>
</div>
<nav id="nav-bar">
<ul id="menu">
<li><a class="nav-link" href="#menu1">menu1</a></li>
<li><a class="nav-link" href="#menu2">menu2</a></li>
<li><a class="nav-link" href="#menu3">menu3</a></li>
</ul>
</nav>
</header>
Do I maybe need to make some changes in the HTML first?
Thanks in advance!