How to inject STYLE into a page Is it a supported scenario to inject a style tag into the body like this? document.getElementById("injectionDiv").innerHTML='.myClass{background-color:green;} '; If so, then why isn't the style applied? Feed: https://social.msdn.microsoft.com/Forums/ja-JP/iewebdevelopment/thread/33fd33f7-e857-4f6f-978e-fd486eba7174?outputAs=rss