I'm trying to use laravel-dompdf to render PDFs (obviously). I've got it working to the point that I can render data from my database as a PDF. However, I can't get any kind of CSS working - linked, in style tags, or even inline. It simply doesn't make a difference. I am just testing it at the moment with simple color and font-size changes, but no dice.
EDIT: Never mind, I was being a cretin and calling the wrong view. Why can't we delete our own questions?
Just tried it and works without any problems.
Did you set the Content Type to <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> as descriped?
I have found that DOMPDF is not that great when dealing with CSS and formatting (although it may have improved since I last used it). I much prefer using wkhtmltopdf which is a CLI tool that uses the WebKit (HTML rendering engine used by Chrome, Safari and Opera) to generate the HTML save it to a PDF file which you can install using composer (AMD64, x86). KnpLabs have created a PHP library called snappy which adds a nice PHP wrapper to it and Barry vd. Heuvel has added a nice wrapper around that for Laravel: laravel-snappy.
Do not use DOMPDF to render the PDF version of an HTML page.
The CSS style on the HTML was not used to be rendered very well by DOMPDF since the last time I confronted it.
As @corez64 suggested, use a simple CLI rendering application that displays the HTML in a PDF form.