I cannot seem to succeed to completely fill a horizontal space with a div. There is always a little space at the right, left, top and bottom.
I am currently using:
CSS:
.section{
width: 100%;
display: inline-block;
top: 0px;
left: 0px;
margin: 0px;
padding: 0px;
}
#section-1,#section-3{
background-color: #ddd;
}
HTML:
<div id="section-1" class="section">
<p>Foo</p>
</div>