I'm centering my container div this way.
#container{
position: absolute;
left: 50%;
margin:0 auto;
height:100%;
width:1024px;
margin-left: -512px;
text-align:left;
}
The div centers in the window, however when the user resizes the window to smaller than 1024 the window starts showing the center of the page. How can i make it to where the window will show the left side of my container when the window begins to shrink.