PDA

View Full Version : Colored pulldown boxes - Is it possible?


Ann
09-13-2002, 06:43 PM
Is it possible to color pulldown boxes, like you color scrollbars? I'm currently re-designing my whole website and I would like to have my pulldown boxes colored just like the scrollbar is, but I wasn't sure if it's even possible...

Incase I explained badly, take a look at the attached picture. The arrow is pointing to what I want to have colored.

Thanks for reading :)

Nightfire
09-13-2002, 08:12 PM
Try

.input{
scrollbar-base-color: #9999CC;
scrollbar-arrow-color: white;
scrollbar-track-color: #CCCCFF;

scrollbar-shadow-color: black;
scrollbar-lightshadow-color: black;
scrollbar-darkshadow-color: gray;

scrollbar-highlight-color: white;
scrollbar-3dlight-color: black;
}

I can't try it myself as I don't have IE5.5+ :p

Ökii
09-14-2002, 09:22 AM
With select lists - as far as I've found, you can only change the font-colour, font-weight, font-size, font-family and background colour. You cannot change the scrollbar colours or the hover colour.

example:
<select style="background-color:#000; font-weight:700; font-size:18px; color:#F0F; font-family:Lucida Console">

Or as nightfire aluded toward
select {background-color:#000; font-weight:700; font-size:18px; color:#F0F; font-family:Lucida Console}
in style declares should do.