Using position absolute is generally not a good idea like that, its better to make a wrapper div and place everything inside that. Then u apply the width u want your website to be on the wrapper div, which in your case would be 1000px i believe. Then u can just apply margin: 0 auto; on that div to center it, and thus everything inside of it
Html would look somewhat like this:
Code HTML4Strict:
<body>
<div id="wrapper">
<!--Rest of your website-->
</div>
</body>
With this applied on the wrapper
Code CSS:
#wrapper {
width: 1000px;
margin: 0 auto;
}
That way it shouldn't go off the left of the screen either, because its not using position absolute.
Bookmarks