Click to See Complete Forum and Search --> : styles on html form object Select


adamthenewbie
03-15-2005, 04:59 PM
Is there anyway to change the style of a select object?

here is a photo of a select box
http://www.geocities.com/adamstacey/photo.jpg

Is there anyway to get the borders like a solid color?

I can do it for text areas (<input type = "text" ...>)
.textbox {border:2px solid #000000; font-family: Verdana; font-size: 10 px; color: #000000;background-color: #FFFFFF }

But when I apply this style to the select box it only affects the font size.

Fang
03-16-2005, 02:03 AM
Only with FF:
select {
border:1px solid red;
background:#fffffe;
}

You must have a colored background, not white, and the border style is always inset.