Samedi 2 Juin 2007
Ajouter un menu déroulant
Par Jacky, Samedi 2 Juin 2007 à 08:46 GMT+2 dans Codes image HTML





Pour afficher le menu dans un article, copier et coller le code suivant:
<div style="border: 2px solid black; background: #ff0080 none repeat scroll 0% 50%; overflow: scroll; width: 220px; color: #ffffff; height: 300px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; text-align: center"><img src="url de l'image" border="0" height="150" /><br /><img src="url de l'image" border="0" height="150" /><br /><img src="url de l'image" border="0" height="150" /><br /><img src="url de l'image" border="0" height="150" /><br /><img src="url de l'image" border="0" height="150" /></div>
Vous pouvez changer la couleur du fond en changeant le code couleur de background ainsi que, inserer du texte comme je le montre ici.
Pour centrer la boîte, rajoutez " margin-left: auto; margin-right: auto; " dans le code.




