I am using inline CSS set up like this:
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.<style>
@page{
size: A4 landscape;
}
</style>
Is there something that I am missing? Is there a better way that I should be doing this?
Thanks in advance for your help.
John5 Antworten
I'd take a look at this post. it looks like you need to use page: rotated[1] https://developer.salesforce.com/forums/?id=906F000000096tCIAQ