0

When I'm trying to print a table with many columns, it's not breaking to the next page, i try either in chrome or firefox. Has anyone ever experienced this.

Print

Kanzas
  • 35
  • 3
  • Duplicate? https://stackoverflow.com/questions/1763639/how-to-deal-with-page-breaks-when-printing-a-large-html-table – KungWaz Feb 01 '18 at 10:22

1 Answers1

0

can you please try to put to main container this

.itemContainer{
        flex-wrap: wrap;
        display: flex;
    }
    .item{
        display: flex;
        flex-direction: column;

    }

where you template like this:

  <div class="itemContainer">
        <div class="item">
            <div> sdvsdvs</div>
            <div> sdvsdvs</div>
            <div> sdvsdvs</div>
        </div>
        <div class="item">
            <div> sdvsdvs</div>
            <div> sdvsdvs</div>
            <div> sdvsdvs</div>
            </div>
</div>

for more examples, you can check flex

Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89