Change background color of the dropdown in case of type ahea

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Change background color of the dropdown in case of type ahea

Postby jeremysingh15 » Tue Oct 09, 2012 2:51 pm

Hi all,
I am having a text box with a valuelist attached, my form background is black so i need to put a white color or silimar color as text color. The problem is when i change the type a type ahead , the background of the drop down is also white making the text invisible.

Is there a way to change the background or the text for the list....is it possible to change the deault color of the selected from yellow to some other color..


Thanks in advance
JS
jeremysingh15
 
Posts: 9
Joined: Tue Jul 31, 2012 9:47 am

Re: Change background color of the dropdown in case of type

Postby dfrazier » Wed Oct 10, 2012 9:18 pm

You can change the color of the background of the dropdown box. That is just the "background" property of the typeahead element. As for changing the selection color... I do not know how to change that to be something other than yellow. I was thinking there might be a css way to do it, but I have not discovered it yet.

After looking into a CSS method of doing this, I came to the conclusion that there is no way to do it in pure CSS yet.
This is my signature.
User avatar
dfrazier
 
Posts: 40
Joined: Fri Jun 29, 2012 3:43 pm
Location: Earth


Return to Web Development

Who is online

Users browsing this forum: No registered users and 5 guests