cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Is it possible to add External CSS links in powerapps? Also, styling inside html <style> tag is not working.Is there any way to do this? It will help in customizing the CSS in powerapps.

I have added a HTMLText control with style tag containing internal css. But, unfortunately it is not working. Only inline css works in powerapps. Is there any way to achieve this or can we add external css files to customize our css.

The text inside HTMLText control is given below:

"<!DOCTYPE html>
<html>
<head>
<style>
a {                               //not working
color: red;
}
.imp{                           //not working
background-color: yellow;
}
</style>
</head>
<body>
<p style='color:blue'>Blue Text</p>                 //working as it is inline css
<div class='imp'>New Text</div>
<a  href='www.google.com'>google</a>
<div>
<img src='https://visitcentraloregon.com/wp-content/uploads/2015/03/BrokenTopOnycha6-e1523399253239.jpg'>
<img src='http://www.traditionalmountaineering.org/images/BrokenTop_W010.jpg'>
<img src='https://c1.staticflickr.com/6/5480/9756626465_0e43576c3a_b.jpg'>
</div>
<div>
<img src='http://www.roomtoramble.com/wp-content/uploads/2018/08/web_47.jpg'>
<img src='https://www.bendpremierrealestate.com/uploads/agent-1/Broken%20Top%20Hike%2022-.jpg'>
<img src='https://www.bendpremierrealestate.com/uploads/agent-1/No%20Name%20Lake%206-02090.jpg'>
</div>
</body>
</html>"

Status: New