In my asp.net application, I have a dropdown element.
I am trying to remove the default blue background color that appears when the dropdown is selected, as shown in the image below. I have tried all the solutions provided in this link, but none of them seem to work. My goal is to remove the blue color when the dropdown loses focus or another element is selected.
https://i.sstatic.net/QJHsF.png
This issue only occurs in IE9 and its earlier versions. Other browsers like Chrome and Firefox do not exhibit this behavior, and Internet Explorer 10 and above are also unaffected.
I have attempted the following CSS:
dropdownId:focus::-ms-value{
background-color:white;
color:#000;
}
Is there any feasible way to achieve this using CSS with the select tag ID element, or should I consider utilizing JavaScript/jQuery for this task?