Moving a Text item to the next page

4 views
Skip to first unread message

Virginia Cohen

unread,
Dec 3, 2023, 4:03:21 PM12/3/23
to gp...@googlegroups.com

How do I move a Text Item to the next page? I don’t see an option. Do I need to add code?

 

Virginia

John Cardinal

unread,
Dec 4, 2023, 12:11:02 PM12/4/23
to gp...@googlegroups.com

Virginia,

 

You’d have to add code.

 

The Text User Item does not have a “Page Break Before” property. However, if you use the Heading User Item, that item does have a “Page Break Before” property. When that property is checked, GP includes some CSS which tells the reader to insert a page break before the heading. Note that some older readers won’t honor that request, but it seems that modern readers will.

 

If you do not want a heading, but you do want a page break, you’ll have to add class="break-before" to the first element in the text. So, for example:

 

<p class="break-before">This paragraph should be preceded by a page break.</p>

 

 

John Cardinal

 

Products: ORA, GedSite, Gedcom Publisher, Second Site, TMG Utility, TMG to GEDCOM

Web Hosting for Genealogists: Family History Hosting

--
Gedcom Publisher: https://www.gedcompublisher.com
GedSite: https://www.gedsite.com
---
You received this message because you are subscribed to the Google Groups "Gedcom Publisher" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gp-l+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gp-l/007f01da262c%24233dcc40%2469b964c0%24%40barlowfamily.com.

Reply all
Reply to author
Forward
0 new messages