I'm trying to center a <DIV> tag for a header I'm making. Here is the code that I have now:
Code:
.header {
margin: 10px;
padding: 10px;
background-color: #FFFFFF;
width: 500px;
border: 1px solid #999999;
left: 50%;
right: 50%;
}
For some reason it will not lign up in the center of my browser window. It just stays off to the left.