⬅︎ Back to setAttribute('style', ...) workaround for IE
node.style.cssText = "..." usually does the trick for me
Really? I'll give that a try.
Hooray! Thank-you. In my case, involving styles of a div element, this worked only after I append the div to the body node, but yes!
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?
Nice !!! Thx
thnx...it worked!!!
Comment
node.style.cssText = "..." usually does the trick for me
Replies
Really? I'll give that a try.
Hooray! Thank-you.
In my case, involving styles of a div element, this worked only after I append the div to the body node, but yes!
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?
Nice !!! Thx
thnx...it worked!!!