I've come across an old Classic ASP form that requires additional functionality, and I'm currently using IE11. To address this, I decided to include a doctype like so (even though I'm unsure of its necessity):
<!DOCTYPE html>
In my CSS file, I made the following addition:
input[readonly] {
background-color: #f6f6f6;
}
I spotted recommendations on other pages of the site to change the background-color of a readonly textbox, but unfortunately the color isn't changing as expected!
The HTML markup in question is:
<input type="TEXT" readonly name="ORDERNO" value="<%=OrderNo%>" style="width:177px">
Any insights into why this isn't working? From what I can tell, there aren't any conflicting styles overriding it. Is there any other information I should provide to help clarify my issue?