title: Simple center a object with css and no hacks
body: <p>I want to center an object using CSS and no hacks, is this possible and how?</p>
  
  <p>I have tried this, but than my p tag is gone.</p>
  
  <pre><code>.centered {
    position: fixed;
    top: 50%;
    left: 50%;
  }
  </code></pre>