Give pull down a colour...

liunx

Guest
Hi there...

Is it possible to give a pull down menu your own colors?

I know it's possible with scollbars, but is it possible with pull down menus.

Thanx,

Leontry
<select style="background: #000;">That works, but is it possible to change the other colors? The arrow, the borders....

:DWhat I do is that I create a class for my textboxes and buttons. Then, I can use those classes to set the whole form elements the same way for the whole site (or application).Yes, I've done that, but it doesn't work for the pull down menus.

The submit button, text fields are working.yes - you can specify stuff like:

border: 1px solid red; color: #fff;

I think your scrollbar colors can be changed in the same way, but thats IE only.Yes, I've done that to. Doesn't work.

Everything works except the pull down menu. Is it because I'm using Windows XP?you could try applying them to the option tag as well

<select>
<option style="[style in here]">option 1</option>

it depends exactly what effect you want.Here's some fiddling I've done with that. Unfortunately you won't see some of the styles if you're using IE.

<!-- m --><a class="postlink" href="http://blab-n-lab.home.comcast.net/lab/styletest.htmlThnx">http://blab-n-lab.home.comcast.net/lab/ ... t.htmlThnx</a><!-- m --> u all.

I've learned some new stuff, but still not a way to give the arrow and the arrowbox my own color. I haven't seen it anywhere on the web, so I guess it's not possible.

CU later,

Leon

:D
 
Back
Top