Solved

Selected background color

Posted on 2014-03-24
3
282 Views
Last Modified: 2014-03-24
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?
select-bgcolor.jpg
0
Comment
Question by:Richard Korts
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 300 total points
ID: 39951193
Not possible, if you want to do something like this you have to convert to a list (UL/LI etc)
0
 
LVL 53

Assisted Solution

by:COBOLdinosaur
COBOLdinosaur earned 200 total points
ID: 39951304
The default is not overridable, so just use a different shade of blue for contrast.

Cd&
0
 

Author Closing Comment

by:Richard Korts
ID: 39951340
I actually used purple because this class of customer is "VIP"

Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question