I need to apply Header & footer text in each page of PDF, for that i am using below line of CSS.By this I am able to apply Header text in each page but not footer text. I am getting footer text only in last page of PDF.
   @@page {
         @@top {
                content: element(header);
            }
            @@bottom {
                content: element(footer);
            }
        }
        header {
            padding: 10px;
            position: running(header);
            }
     footer {
            padding: 5px;
            position: running(footer);
        }