Bonjour,

J'ai un ptit probleme pour avoir ma DIV et mon SPAN sur la meme ligne, pour cela j'utilise un styleFloat mais ça ne marche pas

var DivImg = document.createElement("DIV");
DivImg.style.height = '16px';
DivImg.style.width = '16px';
DivImg.style.borderWidth='1px';
DivImg.style.borderStyle='solid';
DivImg.borderColor='#000000';
DivImg.style.styleFloat ='left';
DivImg.style.marginRight ='5px';
DivImg.style.backgroundColor ='#EEEEEE';

var a = document.createElement("span");
a.innerHTML = "Toto";

document.body.appendChild(DivImg);
document.body.appendChild(a);