Skip to Content

TheBlogReaders.com

Salesforce.com Learn & Share

Header Footer in PDF

Be First!
by March 9, 2012 CSS
It is about how we can put header and footer in a visual force page which is rendered as PDF.

Now if we want to add a image in header then add:

@top-center {
        content : element(header);
     }

div.header {
    position : running(header) ;
}

in style and

   

before the body. We can also change font-size , font family , color etc of page using @page style.

(814)

Previous
Next

Leave a Reply