PDA

View Full Version : CSS Drop Down Box



shield
12-01-2005, 12:44 PM
Ive got a HTML select box (drop down box) and I have used CSS to style the look of it. However when someone clicks on the arrow to view the items the background of the items is... well ugly. I have the background to an image but it is still the same colour..

So how do I change the background of the options?

Thanks

Felix
12-02-2005, 09:39 PM
All you have to do is something similar to the following, just change the style to suit your needs..



select {
background-image: url('linktoimage');
color: #000000;
}
option
{
background-image: url('linktoimage');
color: #000000;
}


What problem are you having exactly. :confused:

shield
12-04-2005, 04:52 PM
Thanks for that but I actually figured it out already ;)

It was just me being stupid