You need to sign in to do that
Don't have an account?
hamshu
Css Is Not working for renderAs="PDF"
Hi,
I am trying add page number to the pdf but css is not working.
<apex:page renderas="pdf" showheader="false" applyhtmltag="false">
<head>
<style type="text/CSS">
@page {
size:landscape;
@bottom-right {
content: "Page " counter(page) " of " counter(pages);
}
}
</style>
</head>
</apex:page>
Hi Hamshu,
I think the following thread should be helpful:
http://boards.developerforce.com/t5/Visualforce-Development/Page-Breaks-and-Numbering-on-Renderas-PDF-VF-Page/td-p/359631
Try going through the code and solution mentioned..