Skip to content
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

pdfStyleSheet = print doesn't seem to work correctly #101

Closed
scoutie78 opened this issue Jan 31, 2019 · 2 comments
Closed

pdfStyleSheet = print doesn't seem to work correctly #101

scoutie78 opened this issue Jan 31, 2019 · 2 comments

Comments

@scoutie78
Copy link

Hi!
I've been trying to style my document for the last couple of days, but seem to have hit a major roadblock. Any help would be greatly appreciated.

My print-Stylesheet only shows one of the images from a page on the left side with the text arranged around it (exactly the way I want it). In the generated PDF however, all images are listed above the text and I can't alter or hide these images via CSS. The only way to remove the images from the PDF is to hide them in the Typo3 backend.

I'm using:
TYPO3 8.7.24
PHP 7.1
web2pdf 1.2.2

Kind regards,
Dani

@bihor
Copy link

bihor commented Feb 25, 2019

I have a similar problem. When I set
config.compressCss =1
then the generated PDF contains absolutly no styling (no CSS style works).
With
config.compressCss =0
I get only an empty page with no content at all...
I guess this is a problem of mPDF.

@pstranghoener
Copy link
Member

Its a bug in mpdf which we are using, so we can not help with this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants