Issue: The generated PDF is not picking all styles mentioned in embedded CSS file. Description: We are trying to generate PDF from HTML rule. We are including CSS generated from application skin in HTML rule. And the generated HTML is picking all the CSS stylings. And it looks good if opened the generated HTML in browser. But when the same html stream is passed to HTMLToPDF OOTB activity, the generated pdf is not having proper styling. I have attached sample screenshot shots. Please let me know whether I am missing anything and help me in fixing this issue.
***Updated by moderator: Lochan to close post as the issue no longer requires investigation***
It looks like you're defining the HTML by hand instead of using autogenerated HTML.
The "style" element you have written belongs inside an HTML element, but I do not see any evidence of "html" tags in the screenshot. If the rest of your code is correct, there's a chance that adding the "html" tags could cause the PDF renderer to compute your custom styles.