<html>
<head>
    <title>Div example</title>
</head>

<body>
<style type="text/css">
.container {
    margin:0 auto;      
    width: 200px; 
    border: 1px solid #000000;
    text-align: left;
}

body {
    text-align: center;
    margin-top: 0;
}
</style>	
	
<div class="container">Container</div>

</body>
</html>