Arko Elsenaar Arko Elsenaar - 1 month ago 4x
CSS Question

Option text color is white in IE/Edge

I have styled my select a bit, having the text color white. On all browsers except IE/Edge, it displays the selected option as white, and when I open the option list, all the options are black.

In IE/Edge, the option list is also white, so the options are unreadable. The text is only visible on hover.

Using the following CSS didn't help unfortunately:

select option {
color: #000 !important;



Try adding this meta tag in your head, That would fix your problem.

    <meta http-equiv="x-ua-compatible" content="IE=edge" />