web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Convert from HTML to PDF not working / styling does not convert properly.

Posted on by
Hey all!
 
Currently I have a Power App that sends HTML code to Power Automate. Then, Power Automate creates an HTML file using the code. Finally, Power Automate converts this HTML file into a PDF for me to send through email.
 
I initially took this process on using Shane Young's approach. (Link here: https://youtu.be/bfXV_GXc_JM?si=cs_RQwcIEcYOnfYC)
 
My problem now, all of a sudden, despite me not changing any code or functions pertaining to it at all, the styling does not work!
 
While the HTML file has the correct styling (attached below), for some reason, when I convert it to PDF it does not retain the styling (attached below).
 
Could someone provide some insight as to how I should fix this?
 
 
Below is the HTML file, PDF file, and the code I sent.
 
 

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard

Featured topics