I am experiencing unexpected 15px margins above and below my content, but I cannot determine the source of this issue.
This margin discrepancy is only present in Firefox and Chrome, not Internet Explorer.
In the provided example, the spacing surrounding each "Here is content" paragraph was unanticipated.
#pageContent {
background-color: #fff;
padding: 10px;
}
#contentHead {
height: 33px;
width: 882px;
color: black;
font-size: 14px;
font-weight: bold;
line-height: 34px;
padding-left: 48px;
text-transform: uppercase;
}
#contentBody{
background-color: #d4d3d1;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius: 0 0 10px 10px;
border: 1px solid #8b8b8b;
}
#contentNoSidebar{
background-color: #000;
color: white;
}
<div id="pageContent">
<div id="contentHead">Sample Page</div>
<div id="contentBody">
<div id="contentNoSidebar">
<p>Here is content</p>
...
<p>Here is content</p>
</div>
</div>
</div>