I just have a very quick question about making a div center aligned:
I have a container
#container {
width: 100%;
margin: 0 auto;
max-width: 1300px !important;
background: #ccc;
}
and a Header inside
#header{
font-family: "Helvetica Neue";
font-size: 13px;
height: 125px;
width: 100%;
max-width: 1300px;
position: fixed;
top: 0;
left: 0;
right: 0;
margin: 0 auto;
background: rgba(255, 255, 255, 0.9);
z-index: 1000;
}
and a class inside the header
#header .inside{
max-width: 80em;
margin: 0 auto;
position: relative;
height: 90px;
display: block;
}
the header is good in the responsive mode but the inside
not remain center aligned in other resolutions. What css should i add to the file to make it center aligned in all resolutions?
Thanks