You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though when i passed this string to headerTemplate, i have no background-color. And this is a simple case when my goal is to have nested div with nested styles.
I am facing a dead-end or is there a way to display a div with nested style correctly ?
Config:
"puppeteer": "^20.3.0"
The text was updated successfully, but these errors were encountered:
Hello there,
So i'm trying to add header and footer to my document using the options headerTemplate and footerTemplate from page.pdf().
Here's my headerTemplate:
When i execute it (https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro), the render is what i'm expecting.
Though when i passed this string to headerTemplate, i have no background-color. And this is a simple case when my goal is to have nested div with nested styles.
I am facing a dead-end or is there a way to display a div with nested style correctly ?
Config:
"puppeteer": "^20.3.0"
The text was updated successfully, but these errors were encountered: