Forum Moderators: not2easy
* {
padding: 0;
margin: 0;
}
#main {
background-color: #000;
text-align: center;
padding-top: 12px;
padding-bottom: 12px;
}
#main p {
background-color: #303030;
text-align: left;
border: 1px solid #999;
margin: 12px 12px 0 12px;
padding: 20px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #fff;
line-height: 1.7em;
}
This renders two boxes. The second box (#main p) sits on top of the first box and there is a difference of 5px extra above the second box in FF, but not IE. Firefox also is missing 1px in the bottom padding from #main, but is exactly 12px in IE.
Anyone have any insight?