I am trying to create a pdf using a Visualforce page with renderas="pdf"
tag but I get below error message
PDF generation failed. Check the page markup is valid.
Here is my code below:
<apex:page standardController="WorkOrder" extensions="InstallationCertPageController"
renderAs="pdf" applyBodyTag="false" applyHtmlTag="false" showHeader="false">
<html>
<head>
<style>
...myStyle...
</style>
</head>
<body>
...some code...
<div style="position: fixed; bottom: 11px; right: 0px;" >
<img src="***image url***"/>
</div>
</body>
</html>
I get it that the real problem is the inline CSS position: fixed;
.
It worked until Salesforce update winter 18.
Any ideas how I can fix it?