PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: First page blank when starting with H1
   PostPosted: 08 Jul 2010, 15:53 
Hi,

I am using PD4ML Professional to generate reports based on a combination of HTML templates and dynamic content from our application engine.

When I try to create a document without a cover page, I end up with a blank first page in the document. It seems like the <h1> tag triggers a page break even when it is the first tag in the <body> section.

Is there some way to suppress this behaviour?


  Subject: Re: First page blank when starting with H1
   PostPosted: 08 Jul 2010, 16:09 
By default <h1> does not force a page break.

Obviously in the document CSS defined something like

H1 { page-break-before: always }

You need to override the setting for the first <h1> tag.


  Subject: Re: First page blank when starting with H1
   PostPosted: 08 Jul 2010, 17:02 
Sorry, it was a false alarm. I'm a bit embarrassed, but I just found that it was our template preparser that did the page break insertation. Hmm, not my code... :-)

Thank you for the quick reply!



[Reply]     [ 3 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share