title: Internet Explorer, z-index, and "modality"
body: <p>The following, in Firefox 3.6, simulates a modal overlay:</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  
      &lt;div id="modal" style="position: fixed; 
          top: 0; left: 0;right: 0; bottom: 0;
          background: rgba(255,0,0,0.5);
          z-index: 10;"&gt;
  
          &lt;div style="border-style:solid;border-width:5px;
                      position: fixed;top: 50%;left:50%"&gt;
             &lt;h2&gt;I am modal&lt;/h2&gt;
             &lt;form&gt;&lt;input type=submit&gt;&lt;/form&gt;
           &lt;/div&gt;
      &lt;/div&gt;
  
  
      &lt;div id="notModal" style="height:500px;
                                border-style:solid;border-width:5px;"&gt;
          &lt;div&gt;
              &lt;h2&gt;a I am not modal&lt;/h2&gt;
              &lt;p&gt;lorem ipsit dolar foo bar baz&lt;/p&gt;
              &lt;form&gt;&lt;input type=submit&gt;&lt;/form&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>In particular, text in the "modal" div can be selected, and the submit button in the "modal" div can be clicked, but nothing in the "notModal" div can be selected or clicked.</p>
  
  <p>In Internet Explorer 8, that's not the case; the "notModal" text can be selected and teh "notModal" submit can be cliecked.</p>
  
  <p>Is there a way to make this work under the various versions of IE, without using javascript?</p>
  
  <p>Thanks.    </p>