title: Selection box not functioning / disappearing in Internet Explorer
body: <h1>Background</h1>
  
  <p>I'm developing a website using jQuery, jQuery Validation, and jQuery Autocomplete. I'm developing a form which uses validation to ensure a few form elements are valid, autocomplete to fill a text box, and then AJAX to dynamically replace the form. The form contains a couple of form elements, including some drop down list boxes (...). The list boxes are styled with CSS3 (with Modernizr for backward compatibility).</p>
  
  <h1>The Problem</h1>
  
  <p>The problem is with Internet Explorer. I'm testing with IE9 but I don't think it works in IE7 or IE8 either. There are two drop down select boxes and both are malfunctioning. When the user clicks the drop down arrow to show the list of selectable options, the list disappears as soon as the mouse moves over it to make a selection, as if the user had clicked the mouse (but without making the selection).</p>
  
  <p>Other notes:-</p>
  
  <ul>
  <li>The boxes behave properly in every other browser.</li>
  <li>The boxes are styled using CSS3.</li>
  <li>If I toggle compatibility view the boxes function as they should, though they look terrible.</li>
  </ul>
  
  <h1>The Code</h1>
  
  <p>HTML</p>
  
  <pre><code>&lt;form name="form1" action="#" method="post" id="form1"&gt;
      &lt;fieldset&gt;
          &lt;label for = "radio1"&gt;
              &lt;input type="radio" id="radio1" name="type" value="1" checked = "checked" /&gt;
              Sell&lt;/label&gt;
          &lt;label for = "radio2"&gt;
              &lt;input type="radio" id="radio2" name="type" value="2" /&gt;
              Buy&lt;/label&gt;
      &lt;/fieldset&gt;
  
      &lt;label&gt;Address or zipcode&lt;/label&gt;
      &lt;input name="address" id="address" type="text" size="40" placeholder="Address or zipcode" class="ui-helper-clearfix" /&gt;
  
      &lt;label&gt;Second Option&lt;/label&gt;
      &lt;select name="first_option" id="first_option"&gt;
          &lt;option value="" disabled="disabled"&gt;Select Option&lt;/option&gt;
          &lt;option value="1"&gt;Option 1&lt;/option&gt;
          &lt;option value="2"&gt;Option 2&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;label&gt;Second Option&lt;/label&gt;
      &lt;select name="second_option" id="second_option"&gt;
          &lt;option value="" disabled="disabled"&gt;Select Option&lt;/option&gt;
          &lt;option value="1"&gt;Option 1&lt;/option&gt;
          &lt;option value="2"&gt;Option 1&lt;/option&gt;
          &lt;option value="3"&gt;Option 1&lt;/option&gt;
          &lt;option value="4"&gt;Option 1&lt;/option&gt;
          &lt;option value="5"&gt;Option 1&lt;/option&gt;
          &lt;option value="6"&gt;Option 1&lt;/option&gt;
          &lt;option value="7"&gt;Option 1&lt;/option&gt;
          &lt;option value="8"&gt;Option 1&lt;/option&gt;
          &lt;option value="9"&gt;Option 1&lt;/option&gt;
      &lt;/select&gt;
  
      &lt;input name="submitbutton" type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>form { margin: 0; }
  fieldset { border: 0; margin: 0; padding: 0; }
  label { cursor: pointer; }
  label{display:none;font: 100 italic 1.2em/1em "museo-sans";}
  label[for=radio1], label[for=radio2]{display: inline-block;margin-right: 1em;padding: 0.7em 0;}
  input, select, input[type=placeholder]{color:#666}
  select, input, textarea, datalist{ outline: none;font:100 italic 1.2em/1em "museo-sans";margin:0 0 0.5em} 
  datalist, select, input[type=text], input[type=email], input[type=tel], textarea{padding: 2%;-moz-border-radius: 6px;-webkit-border-radius: 6px;border-radius: 6px;border: 1px solid #CCC;width: 96%;background:#fff}
  select{width:100%}
  input[type=submit], input[type=button], a.button, button {
  color: #fff;border: none;width:100%;text-align:center;padding: 0.8em 0;font-size:1.3em;font-weight:700;font-style:normal;text-transform:uppercase;background: #ed4136;border: none; 
  -moz-border-radius: 6px;-webkit-border-radius: 6px;border-radius: 6px;cursor:pointer;margin-bottom:0}
  </code></pre>
  
  <h1>The Question</h1>
  
  <p>Does anyone know whether this is a script bug or a CSS bug? I've tried searching the web for similar problems, but don't have any leads. It would be good just to get an insight into what sort of things might cause the bug.</p>
  
  <p>I have a hunch that it's a CSS bug because compatibility view makes the bug disappear. It would be good if someone verify whether I'm right or wrong and offer some insight.</p>
  
  <p>If anyone has any information on this at all, or a suggested fix I would be very thankful.</p>