function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Cris9931Cris9931 

CSS & HTML - How can I keep my Header only on the first Page (PDF) ?

We have an installed app integrated with Salesforce and we can generate PDF's with this app using HTML & CSS.

Now the problem is that my header keeps repeating on all pages which doesn't look nice and professional. Any ideas how can I keep my header to be only on the first page and not others?

 

ANUTEJANUTEJ (Salesforce Developers) 
Hi Cris,

Can you try uploading the CSS as a static resource and then linking it in the visualforce page??

Please let me know if it works and in case if this comes in handy can you please choose this as best answer so that it can be used by others in the future.

Regards,
Anutej