Is there a way to eliminate the small space between my two horizontal sections here? I've already attempted using margin: 0px; and padding: 0px; on the container, but it doesn't seem to be effective.
Any assistance would be greatly appreciated!
<html>
<head>
<title>IOTA Vs. Debt</title>
<style>
body {
margin: 0;
padding: 0;
}
#container {
width: 100%;
height: 500px;
background-color: green;
display: inline-block;
margin: 0;
padding: 0;
}
#first {
width: 20%;
height: 50px;
display: inline-block;
background-color: red;
}
#second {
width: 20%;
height: 50px;
display: inline-block;
background-color: yellow;
}
</style>
</head>
<body>
<div id="container">
<div id="first">
</div>
<div id="second">
</div>
</div>
</body>
</html>