joethall Posted January 17, 2017 Share Posted January 17, 2017 How can I avoid the background color of a selected option turning blue? Link to comment Share on other sites More sharing options...
dsonesuk Posted January 17, 2017 Share Posted January 17, 2017 I don't think it is possible, not in most browsers anyway, that is why JavaScript is used to create a unordered list of the same options, now it can be styled to whatever you want and when a selection is made from unordered list, this selection is updated in the hidden select dropdown in background. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now