Question

Refused to apply style - MIME checking is enabled.

Dear mate,

on the accountpage, i want to display an iframe with a 100% tab height but i have the following error:

 

Refused to apply style from 'https://urltocreatio/0/conf/content/UsrAccountPageCSS.css?hash=bae4bbbf…' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

 

 

So i tryed to publish my UsrAccountPageCSS.css object which is as Ryan Farley shows (https://customerfx.com/article/embedding-a-webpage-on-a-tab-in-bpmonline/):

#ExternalisationTab {

    height: 100%;

}

and i ve got the following errors:

Code: #ExternalisationTab {

Description: Expected an identifier and instead saw '#'.

 

AccountPage:

I tryed to delete and to recreate the module UsrAccountPageCSS but i've the same issue

 

Thanks,

Nicolas

Like 0

Like

2 comments

Hello Nicolas,

 

I did everything straight to Ryan's instruction and everything worked on my side perfectly. Please pay attention to your CSS file - you should put

 

#ExternalisationTab {

    height: 100%;

}

 

not to the source code, but to the "LESS" tab of the .css file. After that everything should work as expected (save the .css file as well as Account Page schema).

 

Best regards,

Oscar

Super !! it was the issue, i putted the code in the source code and not in the less tab.

Thank you Oscar !

Show all comments