Unknown Margin
Trying to figure out where this margin is coming from.
HTML
<body>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<!-- Floating & removing inline -->
<hr><br><!-- Just to space it -->
<div class="box2"></div><div class="box2"></div><div class="box2"></div>
<!-- Removing whitespace -->
<hr><br><!-- Just to space it -->
<div class="boxOriginal"></div>
<div class="boxOriginal"></div>
<div class="boxOriginal"></div>
<!-- Original -->
</body>
<!--
You can use float to remove lines or you can
-->
CSS
.box {
width:33.33%;
height: 75px;
background-color: red;
display: block;
margin: 0;
float:left;
}
.box2{
width:33.33%;
height: 75px;
background-color: red;
display: inline-block;
margin: 0;
}
.boxOriginal{
width:33.33%;
height: 75px;
background-color: red;
display: inline-block;
margin: 0;
}