The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
![]() |
Chrome won't print page breaks in HTML exports? - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Chrome won't print page breaks in HTML exports? (/showthread.php?tid=2307) |
Chrome won't print page breaks in HTML exports? - dethompsOWU - Dec 3rd, 2012 One of my users recently switched to Google Chrome as her default browser and noticed this morning that, when she tries to view a selection of submissions as HTML/printer-friendly as "One submission per page", it's running all of the submissions together. In Firefox, on the other hand, it appears to work properly. Looking at the code for the export, I'm seeing that the page breaks are handled with a CSS style: Code: .page_break { page-break-after: always; } Applied to a <br> tag between submissions: Code: <br class="page_break" /> Firefox (and other browsers) seem to work properly with this code but, for some reason, Chrome does not. Does anyone know of a workaround for Chrome (such as an additional/alternate CSS style, and how to incorporate it into FormTools) to accomplish this? RE: Chrome won't print page breaks in HTML exports? - enginama - Dec 20th, 2016 I changed br class to div class Code: <div class="page_break"></div> |