|
I have to admit, I'm new to this, but wouldn't it be easier to do it like this?
body {
text-align: center;
}
#container {
width: whatever width you want;
margin: auto auto;
}
This seems to be working on my site...
What I would like to know is if there is a way to center the #container vertically... so if i have a page that has a set height, and it is viewed an a higher resolution, it will appear in the center of the viewable window with even margins top bottom and left right. Is it possible?
|