Forum Discussion
McTwitch
Feb 03, 2022Copper Contributor
Converting HTML to PDF - Inline-Block Elements Don't Work
Hello everyone! I'm working on a flow that takes the response from an MS Form, imports the response into an HTML document, converts the HTML to a PDF, and finally emails the PDF to someone. The p...
hansleroy
Feb 03, 2022Iron Contributor
Hi McTwitch,
What I'd try:
1/ remove
style="display:inline-block"
2/ or remove
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO0AAAAwCAIAAAByj2opAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQ...
Does that make any difference?
Kind regards
Hans
- McTwitchFeb 03, 2022Copper Contributor
Hello hansleroy!
Unfortunately, I can't remove those parts. The <img> tag is an image that I need in the final document, and I'm trying to get the <table> and the <img> to display in-line with eachother.
- hansleroyFeb 04, 2022Iron ContributorHi,
Well, at least something has to be tweaked, no?
At least I'd remove the <table> tags to see if it makes any difference.
Kind regards
Hans- jefmeyerFeb 07, 2022Iron ContributorWe're attempting something similar. In our case, generating a HTML file using DIVs to display and image and overlay text on the image. The HTML file is generated correctly, however when converting via the OneDrive step, the overlay text is "stacked up" at the bottom of the PDF. Using the browser print on the HTML file, the text is correctly placed in the PDF. Perhaps this is a bug/limitation of the Convert File step and why still in preview? Curious to know if anyone has successfully accomplished this.