I have a reporting script that generates an html document with inline css, a formatted text document, and a csv text version as well. It also sends a email with an inline html/css document as well as attaching the two text files. The html/css get rendered differently depending on the OS and email client combination and configuration. Creating a pdf should help to provide a consistent view among clients.
I would like to create a pdf from the html I generate, but I want to somehow apply the css to the html before generating the pdf. This doesn't seem like a very complex thing to do, but my simple brain can't figure it out.
Any ideas?
Thanks!