PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › PDF Body Fills 50% of the page, Header/Footer Fill 100% This topic has 2 replies, 2 voices, and was last updated Apr 01, 201014:48:38 by tyronehed. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts tyronehed April 1, 2010 at 14:48 #26361 I have a problem. The generated PDFs have header and footers that fill 100% of the page width while the body only fills 100%. I have tried using the setHtmlWidth( 800 ) then also right after that the adjustHtmlWidth() but to no effect. I assume that the two should be used together. I removed my pd4browser.properties file entirely and verified that it’s gone but it has no effect. Any idea what could cause this problem? Thank you! PD4ML April 2, 2010 at 08:19 #27937 You need to decrease parameter value of setHtmlWidth() to match HTML document content width. adjustHtmlWidth() is intended to automatically decrease the value. (in other words to cut blank space right side) But if your document has elements with width=100% attributes (or for example elements), that would mean there is no blank space – nothing to cut. I assume you did not call fitPageVertically() tyronehed April 7, 2010 at 12:48 #27938 Thank you kindly for the reply. You are correct, I did not call “fit page vertically”. I will follow up with your advice. Thank you! Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.