-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
htmlpagefooter element does not respect z-index #2002
Comments
This is not supported and documented: https://mpdf.github.io/css-stylesheets/supported-css.html
|
Thanks for the prompt reply and for pointing me back to the documentation. Would you have any handy tips on how to achieve an absolutely positioned footer image that fits below the page copy? |
Given the request for footer overlapping page content, I am afraid I do not have any suggestions. |
In case anyone's struggling with the same issue, we resolved it by applying a background image to the body rather than trying to set it using the page footer:
|
Guidelines
Description of the bug
We are setting a page footer using the code shown below and styling it using CSS
The issue is that whatever we do we cannot get the footer content to sit behind the page content. The page content is wrapped within a div with the class page-content and styled as below.
Is the footer layer treated differently to other content as it was defined using the htmlpagefooter tag? If so how can we get the desired result of a footer fixed to the bottom of all pages except the first but still respect z-index?
Cheers,
Will
mPDF version
8.2.2
PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)
Apache PHP 8.0.0
Reproducible PHP+CSS+HTML snippet suffering by the error
The text was updated successfully, but these errors were encountered: