In this new post, I shall illustrate how to add a header and footer to a generated pdf through CSS.
We get started by using the Visualforce template below:
Now, let's add the code for the header and footer and see the output.
Output of the header and footer in pdf |