CSS Drop Down Box

PythonPython Forum LeaderThe Royal RAM
Ive got a HTML select box (drop down box) and I have used CSS to style the look of it. However when someone clicks on the arrow to view the items the background of the items is... well ugly. I have the background to an image but it is still the same colour..

So how do I change the background of the options?

Thanks

The Royal Ram

Comments

  • FelixFelix Junior Member Shared Hoster
    All you have to do is something similar to the following, just change the style to suit your needs..
    select { 
     background-image: url('linktoimage');
     color: #000000;
    }
    option
    {
     background-image: url('linktoimage');
     color: #000000;
    }
    

    What problem are you having exactly. :confused:
  • PythonPython Forum Leader The Royal RAM
    Thanks for that but I actually figured it out already ;)

    It was just me being stupid

    The Royal Ram

Sign In or Register to comment.