title: Vertically and horizontally centering HTML5 Javascript
body: <p>So  I have this and want to center it vertically and horizontally:</p>
  
  <pre><code>&lt;div id="hd_hype_container" style="position:relative;overflow:hidden;width:600px;height:405px;"&gt;
      &lt;script type="text/javascript" charset="utf-8" src="hd/hd.js?88618"&gt;&lt;/script&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have tried every solution and none seem to work for me. Do I need to add something into the js?</p>
  
  <p>I'd appreciate any help.</p>
  
  <p>Thanks.</p>