title: Center an Image vertically and horizontally using CSS
body: <p>How do I vertically and horizontally center an image when I do not know the size of it? I asked <a href="https://stackoverflow.com/questions/2478168/how-do-i-make-a-background-image-right-click-able/">this question</a> and someone suggested using a table. This isn't the first time I heard a table can do it but I tried without luck.</p>
  
  <p>Searching SO only got me results when I do know the size of the image. How do I do this with a table?</p>
  
  <p>NOTE: JavaScript/jQuery is not preferred but if there's a solution with it I'm open to it.</p>