I have a selector sitting in a table cell. The table row has a color, so using CSS I can change the drop-down’s background to the same color by using background-color:inherit; However, it changes the color of the entire box with all options.
Is it possible to change the color of the selected option only, if not with CSS perhaps with a help of jQuery?
Everything is possible with jQuery 🙂
You should try this:
And here is a live demo
Hope that helps!