Click to See Complete Forum and Search --> : Give pull down a colour...
maw_webdesign
04-02-2004, 10:36 AM
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,
Leon
DaveSW
04-02-2004, 10:44 AM
try
<select style="background: #000;">
maw_webdesign
04-02-2004, 10:48 AM
That works, but is it possible to change the other colors? The arrow, the borders....
:D
DanDigiMan
04-02-2004, 10:51 AM
What 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).
maw_webdesign
04-02-2004, 10:57 AM
Yes, I've done that, but it doesn't work for the pull down menus.
The submit button, text fields are working.
DaveSW
04-02-2004, 10:57 AM
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.
maw_webdesign
04-02-2004, 11:00 AM
Yes, I've done that to. Doesn't work.
Everything works except the pull down menu. Is it because I'm using Windows XP?
DaveSW
04-02-2004, 11:57 AM
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.
ray326
04-02-2004, 12:07 PM
Here's some fiddling I've done with that. Unfortunately you won't see some of the styles if you're using IE.
http://blab-n-lab.home.comcast.net/lab/styletest.html
maw_webdesign
04-04-2004, 07:09 AM
Thnx 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