Is there a way to make the logo float up and align with the navigation bar? It seems to be pushed down for some unknown reason. I have tried all the padding tricks that I know, but I also want the image to close the gap on top with the <hr>
. So essentially, I want the <hr>
right on top of the image.
https://i.sstatic.net/wPTBW.jpg
<body>
<!-- Here is the header-->
<header id="Home">
<div class="nav-bar">
<div class="funBus-logo"><a href="#">Fun Bus</a></div>
<nav>
<a href="#">Home</a>
<a href="#">About Us</a>
<a href="#">Blog</a>
<a href="#">Contact</a>
</nav>
</div>
<hr>
<div class="image"><img src="/img/fun-bus.jpg" alt="fun-bus"></div>
</header>