title: How to align a <div> to center of the page
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/953918/how-to-align-a-div-to-the-middle-of-the-page">How to align a &lt;div&gt; to the middle of the page</a>  </p>
  </blockquote>
  
  
  
  <p>I have a div tag with hight set to 800px, I want that when the browser width is greater than 600px it shouldn't stretch the div but it should bring it to the middle of the page</p>
  
  <p>How can I achieve this?</p>
  
  <p>can I use the following code?
  
      
          centered content
      
  </p>