HTML2PDF CSS not working with Zip

Hi,

I'm using HTML2PDF to generate a Binary of pdf then put it inside the Zip.

The problem is, it seems that my server action is not loading up the css of my pdf that's why it's not showing the same output when I just directly download the pdf compare to my pdf inside the zip.


I need help asap.. thanks

Hi Alexander,

I'm not sure what you mean. A PDF doesn't have a CSS. All formatting of a PDF is included in the PDF itself. It really shouldn't matter whether you download the PDF directly, or whether you first ZIP it.

Kilian Hekhuis wrote:

Hi Alexander,

I'm not sure what you mean. A PDF doesn't have a CSS. All formatting of a PDF is included in the PDF itself. It really shouldn't matter whether you download the PDF directly, or whether you first ZIP it.


Hi,

In my case, created a webscreen that have all the details of my PDF, looks and style, then using the HTML2PDF it will be converted to PDF by passing the URL of the webscreen to GeneratePDF action.