If you try and set the style attribute of a DOM element with Javascript, the following code WON’T WORK IN IE:
yourelement.setAttribute('style','left:150px; top:150px;');
Instead use:
yourelement.style.cssText = 'left:150px; top:150px;';
Thanks to Rob on this page
Sure it won’t work since its Attribute, not Attirbute. 🙂
Nice catch! I fixed the street jive spelling ‘Attirbute’ to ‘Attribute’.