title: Is there a better way to horizontally align elements, than text-align: centre?
body: <p>I have a div, I need ALL the elements inside to be centred, this includes; text and some images.</p>
  
  <pre><code>.class {
      text-align: centre;
  }
  </code></pre>
  
  <p>Works, however is there a better (best practice) Way to do this? I tried fiddling with margins etc... and it worked up until I resized to browser windows, any images that moved down (next row) were automatically aligned left?</p>
  
  <p>What I am asking is there a css class similar to <code>vertical-align</code> but for aligning elements horizontally?</p>