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

<style type="text/css"> 
.left {
  /* width: 120px; */
  padding: 10px;
  border: 1px solid;
  margin-left: auto;
  /* margin-left: auto; */
  /* margin-right: auto; */
  border: 1px solid;
}
</style>

<div class="left">
  1
</div>

</body>
</html>