I am trying to use css coding inside HTMLtext....
with inline style I can do some modification, but when I try to use "global" css classes "." and id-s " # ", the changes are not made.
So in powerapps just inline style modification works or do I do somethig wrong?
Solved! Go to Solution.
Hi mob,
If you mean the HTMLtext control in PowerApps, I am afraid currently declare Css global attributes is not available.
It seems to be that HTMLText control currently can't have the HTML <Head> tag work with it.
As the documentation states:
" HTMLText – Text that appears in an HTML text control and that may contain HTML tags." Reference.
And yes, inline style works.
If you would like PowerApp to enable this feature, then please submit this through the PowerApps idea forum:
Regards
Hi mob,
If you mean the HTMLtext control in PowerApps, I am afraid currently declare Css global attributes is not available.
It seems to be that HTMLText control currently can't have the HTML <Head> tag work with it.
As the documentation states:
" HTMLText – Text that appears in an HTML text control and that may contain HTML tags." Reference.
And yes, inline style works.
If you would like PowerApp to enable this feature, then please submit this through the PowerApps idea forum:
Regards
Not technically, but you could set global variables in the the OnStart method.
Set(myCss, {h1: "font-size: 16px; color: red"});
Then in the HTML text control...
"<div style='" & myCss.h1 & "'>Test</div>"
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
189 | |
65 | |
46 | |
35 | |
25 |
User | Count |
---|---|
243 | |
106 | |
89 | |
85 | |
64 |