I have searched on this site for about 35 minutes, and I am sure it is a really simple answer and I am probably over-looking it, but I am having trouble figuring out how to center my layout.
It is a simple layout, it has a container div, left div for the menu, and right div for the content. (Here is the CSS for this 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 save it and open in my browser, the layout is just sitting to the left. What can I add to make it go to the center?
I have tried a few things from other peoples' threads and nothing is working. What am I doing wrong?