HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › PDF rendition appears to not honor CSS › Re: Re: PDF rendition appears to not honor CSS
We’ve removed all CSS from the source document and then tried the following:
Added simple in-line CSS to document. This was rendered correctly by the PDF.
Removed in-line CSS and placed same CSS in an external CSS file. This was correctly rendered when viewing the HTML, but not by the PDF.
Tried adding the simple CSS to PDF via the addStyle() method. Had no effect on PDF.