Html to Pdf style on table

I have an html to pdf working sample attached. The pdf produced get very thick lines on the table, yet I am setting them to 1px via the style sheet. I cannot go smaller than 1px, so how do I get thin lines on my pdf file?


Image_5744_1741094714837


Attachment: HTMLtoPDFDynamicHeaderFooter_7aa616c8.zip

1 Reply

AM Arumugam Muppidathi Syncfusion Team March 5, 2025 01:46 PM UTC

Hi gert,


We have checked the reported issue on our end.  Upon further analysis, our HTML converter uses the Blink rendering engine, which in turn utilizes the Chromium executable in headless mode for converting HTML to PDF. This conversion process preserves the PDF document layout as it appears in Chromium-based web browsers (such as the Chrome print preview).

 

Upon testing the provided HTML document directly in Chrome's print preview, we observed the same behavior. Please refer to the attached screenshot for reference.


Screenshot:

undefined

 

We recommend using colors with lower opacity to create a thinner table border by adjusting the CSS styles.


Regards,
Arumugam M


Loader.
Up arrow icon