MIDAS Knowledge Base MIDAS Knowledge Base

How to insert a page break in an HTML invoice template

There are a wide range of editable "templates", within MIDAS which you may customize to suit your particular needs. These include templates for your standard, deposit, and cancellation invoices.

As these templates accept standard HTML and inline CSS code, it's easy to insert a "page break" so that when your room booking invoices are printed, different content appears on different pages.

For example, you may like to include Terms & Conditions or payment instructions on a separate subsequent sheet of paper, rather than these appearing on the same page as the actual invoice content for your room bookings.

To insert an invisible "page break" into your HTML invoice template, simply place the following line of code at the point where you'd like to instruct your printer to start a new page:

<div style="page-break-after:always"></div>

Any template content appearing after the above line of code will then appear on a new page when printed.

You can also insert the above code fragment multiple times within an HTML invoice template, if you wish to split the printed content across several pages.

You might also be interested in...

MIDAS » KB » Support » Article 00092

← Return to the Knowledge Base