I've been a frelance for a quite a few years. Have taken some courses on Dreamweaver but am running into a basic problem of trying to auto (Center) a site to any screen size using layers. How is this done?
Put the content of your website into a container like so: <body> <div id="container"> ...your website code and content </div> <!-- /container --> </body>
Style the container div in your style sheet: #container { width: 960px; margin: 0 auto; }
Be sure to change the width to apply to the width of your specific site. You may also use a percentage if you want a fluid layout. To get this working in older versions of IE, you will also need to add "text-align: center;" to the body element in your CSS.