I have a Visualforce page that I need to be paginated. I followed the guide at http://wiki.developerforce.com/page/Creating_Professional_PDF_Documents_with_CSS_and_Visualforce and have verified that it generates the proper HTML. However, I cannot render the page as PDF because it references web resources that require authentication.
The HTML that Salesforce embeds into the iframe works as intended (I verified this by putting it into a simple HTML file and printing) but the encapsulating page breaks the pagination. Going by W3School's article on page-break I suspect it is styling on the outer CSS that is causing the trouble.
Is there anyway to get Salesforce to display a VF page directly, and not in an iframe? If not, what is the best way to solve this problem? Do I need to use JavaScript to just apply style="float:none;" recursively up the DOM?