I am trying to create a simple navbar using just html and css. I am trying to position the text in the anchor tags for my navbar so that they are aligned horizontally with the logo image on the left. I have tried to use padding and margin to move the content of the anchors up and down but that doesn't seem to do anything. Any advice would be great.
Index.html
nav a {
/*color: white;*/
text-decoration: none;
font-family: SoDoSans, Helvetica, sans-serif;
font-weight: 700;
display: inline-block;
margin-left: 10px;
margin-right: 10px;
}
nav a:hover {
color: turquoise;
}
.container img {
height: 40px;
}
body {
margin: 0;
padding: 0;
}
nav {
margin-left: 250px;
}
.container {
height: 70px;
}
<div class="container">
<nav>
<a href="#"><img id='logo' src="./images/logo.png"></a>
<a href="#">MENU</a>
<a href="#">REWARDS</a>
<a href="#">GIFT CARDS</a>
</nav>
</div>