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

<body>
<style type="text/css"> 
.container {
  width: 250px;
  border: 1px solid;
}

.right {
  float: right;
  width: 100px;
  padding: 10px;
  border: 1px solid;
  text-align: center; 
}
</style>

<div class="container"> 
  <div class="right">
    1
  </div>

  Lorem ipsum dolor sit amet, consectetuer adipiscingelit. 
  Aliquam commodo, magna vitae egestas sodales, massa purus auctor
  diam, sed mattis turpis ac arcu. Phasellus sed neque. Nulla facilisi.
  Maecenas mollis scelerisque nisi.
</div>

</body>
</html>