New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styling not applied to PDF #325
Comments
Solved: Needed to use |
Yes, That was the only reason. I got same issue and solved using type="text/css" media="all" in style tag. Thankyou. |
It works. Thank you @109digital . |
I'm having an issue with this but not all of my styles are responding. Please Is there a specific way I need to write the css? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, we're using this with Laravel 5.2.
PDF creation is working beautifully, but styles aren't being applied.
Here's how we're creating the PDF:
PDF::loadHTML($contract)->save($user_directory."/".$pdf_file);
In the generated PDF, our styling is being ignored.
Any ideas?
The text was updated successfully, but these errors were encountered: