function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Edson Ivan Garcia Quintero 9Edson 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>
When rendered i get white margins
Kyle BrandtKyle Brandt

Here is a great resource for styling PDFs rendered from VF: http://www.antennahouse.com/CSSInfo/CSS-Page-Tutorial-en.pdf