Select and other form elements are limited as to what you can style about them. The border is out of reach in IE but the text and background can be styled. In other browsers, so can the border. No browser that I am aware of has a way for the designer to change the highlight colors. Give the select an id:
Code:
<select id="sel1" name="dynamicselector2" size="4" onChange="generateimage(this.options[this.selectedIndex].value)">
In the head of the page, set its style:
Code:
<style type="text/css">
#sel1 {
color:#ffffff;
background-color:#000000;
border:1px solid red;
}
</style>
Bookmarks