Last post May 18, 2020 07:22 PM by email@example.com
May 17, 2020 02:14 AMfirstname.lastname@example.org|LINK
I am editing a web site written by a previous employee who is no longer with the company, I am asked a add a drop down box on the web site. Adding a drop down is very simple, but the background color of that drop down is always grey, although when I put
the drop down on a notepad and save it as html then the background appears white in the browser. I did the entire style sheet search for select option, but could not find anything that turns the drop down box grey color, there are tons of style sheets and
grey. Is their any way, I can force the while color background on drop down box without changing the style sheet. Below is my code and style sheet and the image of the drop down:
<div class="ui-block-b ui-margins" > <label for="nname">Gender</label>
<select id="nname" class="specialcolor">
style sheet is :
This is the image:
As you can see the internal drop down area is white otherwise rest is grey. Any help will be greatly appreciated.
May 17, 2020 04:03 PM|bruce (sqlwork.com)|LINK
Just use the browsers debug tools. Inspect the element, and see the applied css.
May 18, 2020 07:22 PMemail@example.com|LINK
I didn't know how to inspect the element and see the style sheet. I took small tutorial and figured out.
Thanks for your help!