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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop Down Menus

Status
Not open for further replies.

cyberprof

Programmer
Jun 10, 2003
229
GB
Can you define a drop down menu in a CSS for a form, in the same way you can for a text box or button?

Cheers

J
 
Cheers, I've got it to apply the font size, but it wont adopt a border. This is what I'm using:


<SELECT class=&quot;box&quot;>....</SELECT>

SELECT.box
{
font-family:Tahoma,Verdana,Arial,Helvetica;
font-size: 11px;
border:1px solid #3333CC;
}

The style for my input boxes work spot on
 
As simonchristieis noted, select boxes accept only so many attributes. Basically you can manipulate everything regarding fonts, background colors and box size. The rest is OS dependant and cannot be changed via html/css.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top