title: css input textbox readonly to set background color not working
body: <p>I have an old Classic ASP form that I need to add functionality to and I am using IE11. I decided to insert a doctype as follows (which I am not sure why or if it is necessary):</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  </code></pre>
  
  <p>And added to my CSS file:</p>
  
  <pre><code>input[readonly] {
      background-color: #f6f6f6;
  }
  </code></pre>
  
  <p>as other pages on this site suggest to change the background-color of a readonly textbox however it is not changing the color!</p>
  
  <p>My HTML is declared as:</p>
  
  <pre><code>&lt;input type="TEXT" readonly name="ORDERNO" value="&lt;%=OrderNo%&gt;" style="width:177px"&gt;
  </code></pre>
  
  <p>Any ideas why it is not working. There is no other styling applied that I can see that could potentially overwrite it. Is there anything else I need to post to clarify my issue?</p>