I am new in css, so excuse me if my question is too simple. I have an ASP.NET MVC DropDownList "Reports" with this css:
#Reports{
border-radius: 4px;
background-color: #eae8e8;
height: 32px;
color: #313131;
width: 10.4em;
border-style: solid;
font-size: 1.05em;
font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
background-color: #ececec;
border-color: #c5c5c5;
}
#Reports option {
border: 1px solid #e2e2e2;
background: #e2e2e2;
color: #333;
font-size: 1.05em;
margin: 5px 0 6px 0;
padding: 5px;
width: 300px;
}
#Reports option:active {
background: orange !important;
}
When the DropDownList is active, colour is blue, not orange. What is wrong? How to write jquery to set the colour to orange? Thank you in advance for any help.