My question is about centering a header made up of two div containers: #header-container
and #header
:
#header_container {
background: #eeeeee;
border: 0px hidden;
height: 100px;
position: fixed;
width: 1000px;
top: 0;
margin: auto;
display: block;
}
#header {
line-height: 60px;
margin: 0 auto;
display: block;
width: 940px;
text-align: center;
}
I'm trying to figure out how to align the header in the center while maintaining the "fixed" position. Any suggestions on how to achieve this?
Thank you!