I'm developing the layout to my site, and have created the css code in Dreamweaver. I'm centering the wrapper div using the code: Code: ... margin-right:auto; margin-left:auto; Now this works perfectly when i have the css code in my webpage, but when i copy all my css code into a sperate file and link to to the page, my website is no longer in the center. ... I'm linking the css file like this: Code: <link rel="stylesheet" href="nameOfCSS.css" type="text/css" /> Any ideas why this is happening? Cheers.