Render page with its styles ASP.NET Core
-
I successfully rendered a PDF of my page in ASP.NET Core.
The problem is that the styles of the page wasn't rendered and the PDF got ugly.
Is there a way to render a page with its styles?
Original:
PDF:
-
I'm also using ASP.NET Core and need to figure out (if it's even possible) how to apply the CSS Style with the generated pdf. Anyone?
-
The css is automatically applied.
If you have some issues, please prepare a repository with minimal code that doesn't work for you so I can take a look what is wrong.
-
I'm also having a problem with this even on the simple style included on the html, it doesn't reflect on the pdf