Bonjour à vous, je souhaiterai changer un élément dans mon CSS.
et dans ma fonction javascript, je fais comme ceci mais ça ne fonctionne pas :Code:
1
2
3
4
5
6
7
8 #entete{ background: url(bg.jpg) repeat-x bottom; width: 100%; height:3%; font-size:60%; font-weight:bold; line-height:normal; }
Est ce que quelqu'un pourrait m'éclaicir ?Code:document.entete.style.background = "image.jpg" ;
Merci d'avance