PDA

View Full Version : Drop Down Menu


everglade
05-14-2001, 01:19 PM
Hi,

I am using the following code to change the border of my text boxes on a form I am creating,

style="background-color: #FFFFFF; FONT-WEIGHT: bold; color: black; border-color: red"

but when I use it on a drop down select-menu it has all the attributes set apart from the border colour, it stays as the default black, how do you change the border colour (and size too) on a drop down menu? or can't you?

cheers!

Nick

Dr. Web
05-14-2001, 04:36 PM
Nick,

I do not believe all form elements share the same CSS support for display. Select boxes in particular have not responded well to changing the bordercolor... while you may change the background, and text. Also the support for CSS in form elements differs greatly from browser to browser. Menaning IE, N4.7, and N6 will render these effects different.

mike91
05-14-2001, 05:22 PM
<style>
BODY{
scrollbar-face-color:#DFFFBF;
scrollbar-shadow-color:green;
}
</style>

cheers mike

Dr. Web
05-14-2001, 07:14 PM
Originally posted by everglade
I am using the following code to change the border of my text boxes on a form I am creating,

style="background-color: #FFFFFF; FONT-WEIGHT: bold; color: black; border-color: red"


Mike,

Everglade is trying to maniuplate the display of a select box in a form, not the browser scroll bar. Also, the effect you suggested is only supported in IE5.5 and above... not IE5.0 or netscape4.7.