My current issue involves an ajax web application that loads all parts on a single page, specifically index.html. The inner parts being loaded in index.html have exceeded 32 pages (html, js, css).
Now I am facing difficulties with the CSS files that need to be included or imported using @import
. My idea was to merge all styles into a style tag using JavaScript on the client side. However, I encountered a problem where IE does not allow me to modify the style tag in the head of the page using JS.
Does anyone have any suggestions for how to address this issue?
Here is the fiddle demonstrating what I am trying to achieve in IE. It works successfully in other standard browsers.