Hi, I am generating a PDF from HTML and I have an image that has been vertically aligned at the top of the page using this code.
<img src="https://www.example.com" style="display: block; margin: 0 auto; max-width: 350px; text-align:center" />
The above code displays the image vertically aligned when viewed in a browser but when rendered as a PDF the image is left aligned.
Is there a workaround for this or specific CSS needed to keep the image vertically aligned?
We are using .NET Aspose.Pdf, Version 188.8.131.52