How to avoid huge blank spaces on PDF and print outs?

Itinerary template by default tries to keep blocks of relevant data together on one page while printed out or stored as PDF file.


Following is a part of the CSS code from the template:

.spolu {
page-break-inside: avoid;

This helps to keep the block of data (flight info for example) together on one page.


The CSS rule is applied on block of data through class like this:

<div id="sectionItin" class="spolu">



Then the whole DIV element keeps together.


If you remove class and element remains like this:

<div id="sectionItin">


The content of the DIV will split if necessary.


Please remember to create a copy of the html template before you start with edit.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Article is closed for comments.