July 28th, 2002, 01:18 AM
-
Drop down box and css?
Is it possible to set the background color and border of a drop down box?? CSS maybe?? I know you can do it with input fields..... Any one?
July 28th, 2002, 04:44 AM
-
You can change the background color, but I'm not sure if you can change the borders.
Code:
<style type="text/css">
<!--
select {
background-color: blue
}
-->
</style>
Oh, and I think the background property in a select-tag is an IE thing only. Perhaps I'm wrong, but it's not working in Opera.
July 28th, 2002, 08:22 PM
-
you could also set up a class...???