I'm having issues with this: https://jsfiddle.net/xfpfjqw0/
header .logo {
display: inline-block;
height: 150px;
width: 40%;
}
header .search {
display: inline-block;
height: 150px;
width: 40%;
}
<header>
<div class="logo"></div>
<div class="search">
<form action="/search/" method="get">
<input type="text" name="q">
<input type="submit" value="Search" class="btn">
</form>
</div>
</header>
It's an excerpt from a website I'm building. If you inspect the two elements you will see that the first one starts at the top-left but the second one on the down-right of the first one.
Why is that happening?