title: Center div on screen, doesn't work on IE11 but it does in Firefox
body: <p>With css, I'm trying to center div Wrapper on screen. It works on Mozilla but it doesn't work on IE 11. I don't know why. My web page is running in a Windows Server 2008.</p>
  
  <p>css</p>
  
  <pre><code>div#wrapper 
      {      
       width: 1250px;  
       min-width:1250px;
       max-width:1250px;     
       position: absolute;          
       top: 0;
       left: 0;
       right: 0;          
       bottom:0;                  
       margin-left: auto;
       margin-right: auto;
       margin: auto;
       border: 2px solid red;  
  
      }
  </code></pre>
  
  <p>aspx:</p>
  
  <pre><code>&lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;link href="Styles/Site.css" type="text/css" rel="stylesheet" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div id="wrapper"&gt;
           HELLO
           &lt;br /&gt;
           &lt;asp:Button ID="Button1" runat="server" Text="Button" /&gt;
      &lt;/div&gt;
  
      &lt;/form&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Image of web page in Mozilla. As you see, div is centered on screen:
  <a href="https://i.stack.imgur.com/RHStq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RHStq.png" alt="enter image description here"></a></p>
  
  <p>Image of web page in IE11. As you see, div is NOT centered on screen:</p>
  
  <p><a href="https://i.stack.imgur.com/EAU3J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EAU3J.png" alt="enter image description here"></a></p>