Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you change the colour of drop down arrows?

Status
Not open for further replies.

meeble3

Programmer
Nov 8, 2004
52
GB
Hello, how do you change the colours of the arrows on drop down boxes and the grey backgrounds they are on?

Thanks...
 
The arrows you can't change, but the background colors on the dropdown items you can change:
Code:
<style type="text/css">
select option {
   background-color:#ffff00;
}
</style>

<body>
<select>
   <option>one</option>
   <option>two</option>
   <option>three</option>
</select>
</body>

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top