Boov said:Code:<body> <div id="Site"> * ALL CONTENT * </div> </body>
and then
Code:#Site {width:780px;margin:0 auto}
you can of course change the width from 780px, but you always need to define a width with this method.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home</title>
<link rel="stylesheet" type="text/css" href="default.css" />
</head>
<body>
<div id="Site">
Hello this is a test
</div>
</body>
</html>
body {margin:40px}
#Site {width:780px;margin:0 auto}
body
{
text-align: center;
}
Eriedor said:snip
IE 6?Cheetah Designs said:recognises margin: auto; fine for me?