Reputation: 1228
I have generated a pdf file using third party now I want apply my own style to the content in pdf.
Can I insert an External CSS File into a generate PDF. I have tried many ways but all is not working. Thanks,
Upvotes: 1
Views: 825
Reputation: 67194
You cannot style an already generated PDF with CSS. It is not made out of selectable elements and there is no way to link the CSS to the PDF.
You will have to do the styling before the PDF is created. It's like trying to add more sugar to an already baked cake, there is no way to do it.
Upvotes: 1