#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Posts
    45
    Rep Power
    14

    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?
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    Norway
    Posts
    34
    Rep Power
    13
    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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    new york
    Posts
    84
    Rep Power
    13
    you could also set up a class...???

IMN logo majestic logo threadwatch logo seochat tools logo