3

Possible Duplicate:
Background Image for Select (dropdown) does not work in Chrome

I need to change the select box background image to https://www.google.com/images/nav_logo101.png I am using this code:

<form>
    <select id='selectbox'>
        <option >A</option>
        <option >B</option>
    </select>
</form>

it might sound trivial but I tried all sorts of things and unfortunately they all failed.Any help would be appreciated

FIXED: I used this to fix it:

select#selectbox { -webkit-appearance: none; }
Community
  • 1
  • 1
cppit
  • 4,478
  • 11
  • 43
  • 68

1 Answers1

4

Look here http://jsfiddle.net/8FydL/

form select#selectbox {
    width: 100px;
    height: 50px;
    background-image: url('https://www.google.com/images/nav_logo101.png');
}
Mattia Larentis
  • 192
  • 1
  • 9