93
Views
2
Comments
HTML2PDF CSS not working with Zip
Question

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

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.

UserImage.jpg
Alexander Panganiban

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.