⬅︎ Back to setAttribute('style', ...) workaround for IE
Yes, this is a really short solution! Thank you all for not giving up on this topic. By the way - it's not possible to code a lot of JavaScript for HTML using the DOM only, is it?
node.style.cssText = "..." usually does the trick for me
Comment
Yes, this is a really short solution! Thank you all for not giving up on this topic. By the way - it's not possible to code a lot of JavaScript for HTML using the DOM only, is it?
Parent comment
node.style.cssText = "..." usually does the trick for me