title: Input border displays in Chrome but not in IE
body: <p>I'm creating a web form, and I've discovered a weird little bug or something: while the border and background styling that I add to my text input fields works in Chrome, I get nothing in IE8 or 9.  As in, no borders or backgrounds.  To look at it, you would not even know the input fields exist unless you either hit tab or manage to click in the right place, as the focus attribute works just fine.</p>
  
  <p>I've seen several questions that have the reverse problem - border works in IE but not Chrome - but not for this one.  I've tried border:default, I've tried really dark backgrounds, I've tried deleting the entire class in my css, and my input fields are still invisible in IE unless they are focused.</p>
  
  <p>Here are parts of my CSS (left out definitely un-related sections):</p>
  
  <pre><code>input[type='checkbox']
  {
      width:1em;
      float:left;
      margin-left:1em;
      margin-right:0.5em;
      border:none;
  }
  
  .form
  {
  
      font-size:12px;
      font-family:Georgia;
      width:25em;
      color:#000;
  }
  
  .form_large
  {
  
      background:#fff;
      font-family:Georgia;
      font-size:12px;
      width:35em;
      border:2px inset #ccccff
  }
  
  .form_medium {  
  
      font-size:12px;
      font-family:Georgia;
      width:20em;
      color:#000;
      margin-left:0.5em;
      border:2px inset #ccccff;
  }
  
  .form_qty {
  
      font-size:12px;
      font-family:Georgia;
      width:3em;
      color:#000;
      margin-left:0.5em;
      border:2px inset #ccccff;
  }
  
  input[type='text'], input[type='tel'], input[type='email']
  {
  
      color:#000033;
      background:#FFF;
      border:1px thin #99ccff;
  }
  
  input[type='checkbox']
  {
  
      color:#cFF;
  }
  
  li input[checkbox], input[text]
  {
  
      left:-2;
      margin-left:0;
      opacity:0;
      z-index:2;
      cursor:pointer;
      height:1em;
      width:1em;
      top:0;
      border:1px solid #000033;
  }
  </code></pre>
  
  <p>And here are (parts of) the related HTML (it's a pretty long form):</p>
  
  <pre><code>&lt;label for="input_1"&gt;Name/Company*&lt;/label&gt;
    &lt;input type="text" name='name' id="input_1" placeholder='Full name or Company name' required='required' class='form_medium'  /&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;label for="input_2"&gt;Address&lt;/label&gt;
    &lt;input type="text" name='Address' id="input_2" class='form_medium'  /&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;label for='input_3'&gt;City*&lt;/label&gt;
    &lt;input type='text' id='input_3' name='City' required='required' class='form_medium'  /&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;label for='input_4'&gt;Phone*&lt;/label&gt;
    &lt;input type='tel' pattern="\d{10}" name='phone' placeholder='e.g. 0123456789'id='input_4'class='form_medium' required='required'  /&gt;
  &lt;/p&gt;
      &lt;p&gt;
    &lt;label for="input_5"&gt;E-mail&lt;/label&gt;
    &lt;input type="email" name='email' placeholder='e.g. jack@example.net'id="input_5" class='form_medium'  /&gt;
  &lt;/p&gt;
  &lt;p&gt;&lt;p3&gt;Please select all that apply:&lt;/p3&gt;&lt;/p&gt;
  &lt;ol&gt;
    &lt;li class='main'&gt;
      &lt;input name='questions' type='checkbox' id='checkbox_1'label="label" for='checkbox_1'   /&gt;
      Questions:**
      &lt;ol&gt;
        &lt;li class='sub_1'&gt;
          &lt;input name='Questions' type='text' class='form_large' cols="60" rows="5" placeholder='Do you have any questions about your equipment or our services?' id='input_6' /&gt;
        &lt;/li&gt;
      &lt;/ol&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
  &lt;ol&gt;
    &lt;li class='main'&gt;
      &lt;input name='Visit' type='checkbox' checked id='checkbox_2'label="label" for='checkbox_2'   /&gt;
      Visit (select type, all that apply):
      &lt;ol&gt;
        &lt;li class='sub_1'&gt;
          &lt;input name='Service'  type='checkbox' id="checkbox_3"  label="label" for='checkbox_3' /&gt;
          Service
          &lt;ol&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Change Filters' type='checkbox'  id='checkbox_4' /&gt;
              Change filters
                  &lt;ol&gt;
                      &lt;li class='sub_3'&gt;
                          &lt;input name='Salt' type='checkbox'  id='salt_del'  /&gt;
              Deliver Salt
              &lt;input type="text" name='del_salt' id='del_salt' class='form_qty'  /&gt;
            &lt;/li&gt;
            &lt;/ol&gt;
            &lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Repair' type='checkbox'  id='checkbox_5'  /&gt;
              Repair&lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Move' type='checkbox'  id='checkbox_6'  /&gt;
              Move Equipment&lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Hook_Up' type='checkbox'  id='checkbox_7'  /&gt;
              Hook up Equipment&lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Disconnect' type='checkbox'  id='checkbox_8'  /&gt;
              Disconnect Equipment&lt;/li&gt;
          &lt;/ol&gt;
        &lt;/li&gt;
        &lt;li class='sub_1'&gt;
          &lt;input name='Delivery'  type='checkbox' id="checkbox_9"  label="label" for='checkbox_9'/&gt;
          Delivery (specify quantity)
          &lt;ol&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Water' type='checkbox' id='checkbox_10'  /&gt;
              Water (5-gal bottled)
              &lt;input type="text" name='del_wat' id='del_wat' class='form_qty'  /&gt;
            &lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Salt' type='checkbox'  id='checkbox_11'  /&gt;
              &lt;label class='qty' for='del_salt'&gt;Salt&lt;/label&gt;
              &lt;input type="text" name='del_salt' id='del_salt' class='form_qty'  /&gt;
              &lt;ol&gt;
                      &lt;li class='sub_3'&gt;
                          &lt;input name='Salt' type='checkbox'  id='filt_change'  /&gt;
              Change Filters
              &lt;/li&gt;
            &lt;/ol&gt;
            &lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Filt_deliver' type='checkbox'  id='checkbox_12'  /&gt;
              &lt;label class='qty' for='del_filt'&gt;Filters&lt;/label&gt;
              &lt;input type="text" name='del_filt' id='del_filt' class='form_qty'  /&gt;
            &lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Parts' type='checkbox'  id='checkbox_13'  /&gt;
              &lt;label class='qty' for='del_parts'&gt;Parts&lt;/label&gt;
              &lt;input type="text" name='del_parts' id='del_parts' class='form_qty'  /&gt;
            &lt;/li&gt;
            &lt;li class='sub_2'&gt;
              &lt;input name='Other_deliver' type='checkbox'  id='checkbox_14'  /&gt;
              Other (please specify)**
              &lt;input type="text" name='del_other' id='del_other' class='form_medium'  /&gt;
            &lt;/li&gt;
          &lt;/ol&gt;
        &lt;/li&gt;
        &lt;li class='sub_1'&gt;
          &lt;input name='Other_visit'  type='checkbox' id="checkbox_15"  label="label" for='checkbox_15'/&gt;
          Other Visit (please specify)**
          &lt;input type="text" name='visit_other' id='visit_other' class='form_medium' /&gt;
        &lt;/li&gt;
      &lt;/ol&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
  &lt;ol&gt;
  </code></pre>
  
  <p>Thanks in advance!</p>