I know you guys prefer stackcode, but this is a lot and didn't display properly when I tried that, however, I'll provide the basic context.
And here is the summarized HTML & CSS:
#logoDiv{
}
#jqueryLogo{
height: 60px;
padding: 0;
margin: 0;
}
/*vvv HEADER BELOW vvv*/
#header{
height: 50px;
background-color: #05568D;
border-radius: 10px 10px 0px 0px;
}
#header > ul{
list-style-type: none;
padding: 0px 20px 0px 20px;
margin: 0px;
}
#header > ul > li{
padding: 0px 10px 0px 10px;
color: white;
font-size: 20px;
line-height: 54px;
float: left;
}
<div id="logoDiv">
<img id="jqueryLogo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/JQuery_logo_text.svg/2000px-JQuery_logo_text.svg.png" alt="" >
</div>
<div id="header" class="container">
<ul>
<li>Download</li>
<li>API Documentation</li>
<li>Blog</li>
<li>Plugins</li>
<li>Browser Support</li>
</ul>
</div>
The issue: There is a 7.5px margin between the logo image and the header. I did not set any margins to cause this, and when I inspect the elements, nothing shows up there... but when I encapsulated the logo img with a div, it now shows the space as equalling that div.
How can I get rid of that margin between the header and logo image?