CSS background-image question pour <select> & <option>

HTML

<select data-val="true"  id="GameID" >
   <option value="">Select Game...</option>
   <option value="4">Counter Strike Source</option>
   <option value="5">Medal Of Honor</option>
   <option value="6">NFS Shift</option>
</select>

CSS

select
{
    color: #fff;
    background: url(/img/backgrounds/tab-hover-background.png) rgba(0,0,0,0); 
    border: 1px solid #8093BE;
    width: 242px;
    height: 20px;   
}

option
{
    background: url(/img/backgrounds/tab-hover-background.png) rgba(0,0,0,0); 
}
  • Dans Firefox, il fonctionne très bien,
  • À l'Opéra, il ne fonctionne que pour certains,mais pas pour l'option
  • Dans IE 9.0 & Chrome il a un comportement étrange
    Je veux tous les navigateurs pour afficher comme Firefox

cette est une source

OriginalL'auteur Artur Keyan | 2011-09-12