Look at the following code.
Exhibit B: (see attachment to a screen shot of it)
#second {
border:1px solid #ff0000;
background-color:#ddeffc;
}
<div>First Div</div>
<div id="second">
<h1>Second Div</h1>
</div>
Now if you take away the border of the #second, the amount of area of #second that is colored changes:
Exhibit:A (see attachment)
#second {
border:none;
background-color:#ddeffc;
}
<div>First Div</div>
<div id="second">
<h1>Second Div</h1>
</div>
I suppose my question is… don’t you think #second should maintain the same area of colored background, regardless if there is a border? Has this behavior caused you trouble? Or, is this just “the way it is”?