Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Include external stylesheet?

Hi,

How can I include an external stylesheet? I've tried:

loadcss = document.createElement('link');

loadcss.setAttribute("rel", "stylesheet");

loadcss.setAttribute("type", "text/css");

loadcss.setAttribute("href", "style.css");

document.getElementsByTagName("head")[0].appendChild(loadcss);

..inside LoadScript->AddExtension() { } but without success, any ideas?

best regards.

10 Replies
Not applicable
Author

Ok, good to know, nonetheless.

Do you know how other extensiondevelopers generally tackle their HTML-situation?

thanks.