Skip to main content
Hello, 

I have a VF page that I am rendering as a PDF, and I am trying to get the page to display as "Landscape" orientation.  

I am using inline CSS set up like this: 

<style>

@page{

size: A4 landscape;

}

</style>

but the page is rendering as "Portrait.  I am using this exact same styling in an Email Template with a PDF attachment and it works beautifully, but it does not work with when I apply it to the VF Page. 

Is there something that I am missing? Is there a better way that I should be doing this? 

Thanks in advance for your help. 

John
5 respuestas
0/9000