Sorry if this has been asked before, but here goes:
I'm creating reports using HTML and CSS, though they eventually get PDF'ed. The report needs to contain two-column layout on most pages, so I'm using:
<div class="two_columns">
<p>Lots and lots of text...</p>
<p>And multiple paragraphs...</p>
</div>
with
div.two_columns {
-webkit-column-count: 2; /* Chrome, Safari, Opera */
-moz-column-count: 2; /* Firefox */
column-count: 2;
}
However, for any report section that is long enough to span multiple pages, the left column continues onto the second page and goes until about half the text in that div is displayed, then it wraps into the right column back on the first page. But I want the left column to wrap into the right column on the first page until the first page is filled with text, and then wrap into the left column on the second page (and display about the same amount of text in each of the two columns on the second page). Is there a way to do this? I do not want to have to create separate divs for the individual columns or pages, because the length of these different sections depends on features of the data, which will be different for each unit being reported on.