I'm experimenting with creating PDF's from HTML. I have a HTML template which contains a bunch of CSS styles in its section - and those seems to be totally ignored by HTML-to-QuestPDF.
`
<style>
body {
font-family: "Lucida Sans Unicode";
background-color: white;
font-size: 22px;
line-height: 1.8;
letter-spacing: -0.5px;
}
b {
font-weight: 700;
}
.header {
display: flex;
flex-direction: column;
align-items: center;
margin-top: -20px;
}
......`
Is that the case? How can I solve this? Can I provide a separate, standalone CSS string to the conversion, that will be respected and used?
I'm experimenting with creating PDF's from HTML. I have a HTML template which contains a bunch of CSS styles in its section - and those seems to be totally ignored by HTML-to-QuestPDF.
`
<style> body { font-family: "Lucida Sans Unicode"; background-color: white; font-size: 22px; line-height: 1.8; letter-spacing: -0.5px; }......`
Is that the case? How can I solve this? Can I provide a separate, standalone CSS string to the conversion, that will be respected and used?