Click to See Complete Forum and Search --> : styling the select tag for IE


fsbeahm
11-15-2006, 10:59 PM
How can a <select> tag (dropdown list) be styled (particularly border color properties) so it will render styled in IE6 for XP? I keep getting the Microsoft blue no matter how I try to tweak it, with defeats the purpose of styling the rest of the form. (It works fine in Firefox.)

This is the code I have been using:

.select {
font-size: 12px; font-family: verdana, arial, helvetica, sans-serif; color: #333333;
background-color: #FFFFFC;
border: 1px solid; border-color: #333333;
}

Any advice or direction toward a resource would be appreciated.

Kravvitz
11-15-2006, 11:05 PM
Browsers only support a limited number of CSS properties on form elements. Which properties and how many are supported varies from browser to browser.
http://www.456bereastreet.com/archive/200409/styling_form_controls/
http://www.456bereastreet.com/archive/200410/styling_even_more_form_controls/
background images in form elements (http://lab.artlung.com/form-image-background/)