Bonjour,
aucune raison, avec ce que tu nous montres, que ça ne fonctionne pas....
et pourquoi pas en css ??
ch'tiot exemple à améliorer...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<style>
#toto { background-image:url(a2.bmp);
background-repeat:no-repeat;
}
#toto:hover { background-image:url(carte_conso_pt.gif); }
</style>
<div id="toto">.</div>
Cordialement [
mon Site] [
M'écrire]

Bul