Le d�bugger JS de FF me sort une liste de ouf.
Pourrais-tu d�clarer tes variables ? C'est-�-dire �crire var avant ta variable que tu cr�es.
Ne pas �crire :
1 2 3 4 5 6 7 8
| b=8;
for(i=0; i<10; i++){
b--;
if(b==0){
text="b est nul";
alert(text);
}
} |
Mais
1 2 3 4 5 6 7 8
| var b=8;
for(var i=0; i<10; i++){
b--;
if(b==0){
var text="b est nul";
alert(text);
}
} |
Pour tes soucis de d�clarations CSS abandonn�es, c'est que tu utilises pas la bonne DocType : XHTML 1.0 ! 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Partager