PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Pd4ml – generated pdf takes first page longer width This topic has 1 reply, 2 voices, and was last updated Oct 29, 201512:33:38 by PD4ML. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts Anonymous October 29, 2015 at 12:33 #26903 I’ve got a issue where a common htmlwidth is set for all pd4ml page break element. But I’m getting the first page with a longer width. Title footer text header text page1 page2 page3 In the above code, except the first page, other two pages appear correctly. The first page content are hidden for some reasons. PD4ML November 3, 2015 at 23:10 #29481 You can define htmlWidth for the entire document (including the first page) with pd4ml.setHtmlWidth() API call. impacts htmlWidth of subsequent pages only. So with a page break directive it is not possible to define htmlWidth for the first page. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.