You need to sign in to do that
Don't have an account?
Edson Ivan Garcia Quintero 9
Full background when rendering as pdf
Hello, so i got a VFP thats gonna work as a cover page and needs to have a full page background so it can be embedded on another pages, but i cant seem to get it fullpage, i have tried a lot and cant really find good information about pdf rendering, any help is much appreciated
/*bodyportada.css*/ body{ margin:0; padding:0; background-image:url(bigoportada.jpg); background-repeat: no-repeat; }
<apex:page showHeader="false" applyHtmlTag="false" renderAs="pdf"> <apex:stylesheet value="{!URLFOR($Resource.estilospdf, 'bodyportada.css')}"/> <body> </body> </apex:page>
Here is a great resource for styling PDFs rendered from VF: http://www.antennahouse.com/CSSInfo/CSS-Page-Tutorial-en.pdf