• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 351
  • Last Modified:

Selected background color

See attached.

This is a generated SELECT Option list. As indicated, we want to use different background colors for different classes of customers.

One of the colors we want to use (for the background) is blue.

But the default value for the selected item (at least in Firefox) is blue.

How can I change the default highlight color (background color) of the current selected item to a different color?
Richard Korts
Richard Korts
2 Solutions
Not possible, if you want to do something like this you have to convert to a list (UL/LI etc)
The default is not overridable, so just use a different shade of blue for contrast.

Richard KortsAuthor Commented:
I actually used purple because this class of customer is "VIP"

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now