title: How to make popup look at the centre of the screen?
body: <p>When i click a link, a pop up comes out. The thing is that it is not aligned to the centre of the screen. By the way my code also helps the website (and the pop up) to look perfectly in a mobile version. </p>
  
  <p>The HTML code :</p>
  
  <pre><code>&lt;a href="#" data-reveal-id="exampleModal"&gt;POP UP&lt;/a&gt;
  
  &lt;div id="exampleModal" class="reveal-modal"&gt;
       &lt;h2&gt;POP UP&lt;/h2&gt;
       &lt;p&gt;
       &lt;font size="4"&gt;window window window.window window window. window.
           &lt;/font&gt;
      &lt;/p&gt;
      &lt;a class="close-reveal-modal"&gt;×&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The css code :   </p>
  
  <pre><code> .reveal-modal     
    {
          background:#e1e1e1; 
          visibility:hidden;
          display:none;
          top:100px; 
          left:50%; 
          width:820px; 
          position:absolute; 
          z-index:41;
          padding:30px; 
          -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);
          -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); 
          box-shadow:0 0 10px rgba(0,0,0,0.4)
    }
  </code></pre>
  
  <p>I tried putting some right:50% as well but it didn't work. Shouldn't left work ?</p>