title: Align contents inside a div
body: <p>I use css style text-align to align contents inside a container in HTML. This works fine while the content is text or the browser is IE. But otherwise it does not work.</p>
  
  <p>Also as the name suggests it is used basically to align text. The align property has been deprecated long back.</p>
  
  <p>Is there any other way to align contents in html?</p>