Ambareesh
Ambareesh

Reputation: 81

Select dropdown menu color is different between two machines

I have a simple select tag in html without any options inside it. When I open the html file in one machine the menu opened is showing in white color as a background.

Dropdown with White meny

and the same html file and with same select tag without any options, if i open in another machine then the menu opened is showing in black color.

dropdown with black menu

Why the color is different between these two machines and what could be done to remove the black color and show white color.

Note: In both machines Microsoft Edge (chromium) browser is used.

Upvotes: 0

Views: 856

Answers (1)

Michael An
Michael An

Reputation: 242

The two machines may have different versions of Chrome installed. You can check the browser version by looking at chrome://version/. So the background color of the selected component is different.

Solution: Use css rules to override the background color of the default selected component, and ensure that the browser versions of the two machines are the same.

Upvotes: 0

Related Questions