How to remove the excess/extra page in PDF(GeneratePDF from HTMLtoPDF)

How can I remove the extra/excess page generated from the file I downloaded as PDF.

by adding this css snippet. solved my problem

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