Hi community,
I'm trying to populate a pdf poster which implies to overlap 2 images and a background.
For whatever reason, when I dynamically populate the HTML, the result is fine. But once I convert it to PDF, the 2 images that are inline with the backrgound just go to the top left corner. It looks like the <style> section of the HTML is being ignored. I also tried with inline styling but same result...
concat('<!Doctype html>
<html>
<head>
<title>Poster automation</title>
</head>
<body>
<div style="background-image: url(',variables('variableBackground'),'); height: 1169px; width: 826px; background-position: 0px 0px; background-repeat: no-repeat;">
<img src="',variables('variableSide'),'" style="position:absolute; top: 560px; left: 8px; z-index: 3;">
<img src="',variables('variableQR'),'" style="position:absolute; top: 768px; left: 552px; z-index: 2; width: 225px; height:225px;">
</div>
</body>
</html>')
HTML output:

PDF output:
