Page to PDF Inconsistencies
Posted: June 24th, 2022, 6:24 pm
- CSS media queries seem to not being applied.
Looking through the page and the HTML that the ViewToPDFFile service generated, this part of the CSS seems to not being applied even though I've set the PDF width over the min-width threshold.
With the media query, the page displays the menu like this:
Yet the PDF displays the menu like this: - The width seems shifted slightly to the right for a reason I cannot determine.
The border of this section is centered on the page: Yet it's closer to the right edge of the PDF than the left: - As EASYProcess does not support custom attributes or colspan/rowspan, I'm currently handling these with javascript which is not retained in the PDF.
The colspan is applied to make sure the description is under the correct header: But the PDF does not use the colspan when it's applied using the javascript approach: