I've spent the last 35 minutes scouring this site, and I know the answer is probably right in front of me but I can't seem to figure out how to center my layout.
It's a straightforward setup with a container div, left div for the menu, and right div for the content. (Here's the CSS I have so far.)
#container {
text-align:center;
width: 960px;
background-color:#FFFFFF;
margin-right:10px;
margin-left:10px;
display:block;
}
#left {
text-align:;
width:300px;
display:block;
background-color:#FFFFFF;
padding-left:5px;
padding-right:5px;
}
#right {
text-align:left;
padding-left:10px;
padding-right:10px;
width:620px;
display:block;
}
When I preview it in my browser, the layout stubbornly stays on the left side. What am I missing to get it centered?
I've attempted some suggestions from other posts but nothing seems to be doing the trick. Can someone point out where I'm going wrong?