Listbox avec des gif? - HTML/CSS - Programmation
Marsh Posté le 08-11-2004 à 17:10:24
<select> 
 <option style="background-image: url('x1.png'); background-repeat: no-repeat; width:30px; height:30px">OPTION 1</option> 
 <option style="background-image: url('x2.png'); background-repeat: no-repeat; width:30px; height:30px">OPTION 2</option> 
</select>
Marsh Posté le 08-11-2004 à 17:11:46
| Mara's dad a écrit : <select>  | 
![[:wam] [:wam]](https://forum-images.hardware.fr/images/perso/wam.gif) 
 
 
me serait jamais douté que c'etait possible ![[:wam] [:wam]](https://forum-images.hardware.fr/images/perso/wam.gif) 
 
Marsh Posté le 08-11-2004 à 17:13:00
Désolé, ça marche pas avec IE !
Marsh Posté le 08-11-2004 à 17:14:58
Mais avec Moz, c'est impec 
Marsh Posté le 08-11-2004 à 17:17:13
 
 
 
Une évolution std est elle prévue ou pas? 
 
(ce serait cool)
Marsh Posté le 08-11-2004 à 17:42:11
Si moz l'affiche, c'est que c'est du standard. 
IE devrait l'afficher, "background-image" c'est du CSS1 
Marsh Posté le 08-11-2004 à 18:32:50
| AGA a écrit : 
 | 
 
C'est parfaitement standard ![[:spamafote] [:spamafote]](https://forum-images.hardware.fr/images/perso/spamafote.gif) 
  
 
Il est difficile pour un débutant d'imaginer le nombre de trucs standards qu'IE est incapable de piger ![[:benou_miam] [:benou_miam]](https://forum-images.hardware.fr/images/perso/benou_miam.gif) 
  
(à commencer par un simple p:hover ![[:nik166] [:nik166]](https://forum-images.hardware.fr/images/perso/nik166.gif) )
 ) 
| Citation : Si moz l'affiche, c'est que c'est du standard.  | 
 
oui mais non ![[:mmmfff] [:mmmfff]](https://forum-images.hardware.fr/images/perso/mmmfff.gif) 
  
Gecko est capable d'afficher des trucs non standards, sinon jamais t'accèderais au web ![[:ddr555] [:ddr555]](https://forum-images.hardware.fr/images/perso/ddr555.gif)
Marsh Posté le 08-11-2004 à 15:16:02
Salut,

est il possible d'inclure des gif dans une liste box?
(en HTML).
Le HTML etant produit par PHP.
erci