title: position div center horizontal and vertical
body: <p>i would like to center a popup div how can i do that browser friendly????</p>
  
  <p>this is the original a bit to the left.</p>
  
  <pre><code>&lt;div class="popLayerWrapper"&gt;
      &lt;div id="addBookmarksLayer" class="popLayer" style="left:260px; padding:30px;"&gt;
          &lt;div class="closeLayer" &gt;close&lt;/div&gt;
          &lt;div class="layerContent"&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>