Here's my CSS:
#main {
background: #eae8dc;
margin: 0 auto;
width: 790px;
height: 900px;
position: relative;
display: block;
}
#header-container {
display: inline-block;
height: 118px;
width: 648px;
background: #9ed5de;
margin: 11px auto;
}
Here's the HTML
<div id="main">
<header>
<h1 id="header-container">
</h1>
</header>
</div>
This question was helpful in fixing my margin issue, but now I can't seem to center the header container. Why does this CSS margin-top style not work?