We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<style> footer { position: fixed; bottom: 0; left: 0; height: 2.5cm; width: 100%; padding: 0 84px; background-color: #00e300; } footer p { color: red; font-size: 13px; font-family: hero-new; } .footer-wrap { display: inline-block; vertical-align: middle; line-height: normal; } </style> <footer> <div class="footer-wrap"> <p>Page 1 of 1 > © COMPANY.COM > [email protected]</p> </div> </footer>
Will crash with this error: "'StackingContext' object has no attribute 'style'"
display: inline-block; inside of .footer-wrap is the cause of the crash. Remove that item and it stops crashing.
display: inline-block;
.footer-wrap
The text was updated successfully, but these errors were encountered:
More context, this is using the example from the Weasyprint documentation to allow for repeating headers and footers. This is in the repeating footer.
Sorry, something went wrong.
1111f7d
write_pdf
No branches or pull requests
Will crash with this error: "'StackingContext' object has no attribute 'style'"
display: inline-block;
inside of.footer-wrap
is the cause of the crash. Remove that item and it stops crashing.The text was updated successfully, but these errors were encountered: