I've got all images absolutely positioned and things seem to be where they should. However, using a different display setting, the page is not centered.
I've been trying to wrap everything in a container div like this:
Code: Select all
<style>
div#container
{
margin-left: auto;
margin-right: auto;
width: 50 em;
}
</style>
<body>
<div id="container">
<ALL OF MY BULLSHIT></ALL OF MY BULLSHIT>
</div>
But that doesn't seem to be doing the trick (i.e. centering everything). I'd like it to be centered no matter what the display is set to and no matter the browser size.
Is all of this determined by the size of my container width? Maybe I need a height description in there too? How does one choose the proper container size?
Thanks!