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.
Asked
Active
Viewed 94 times
0
-
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 Answers
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
-
Hi vitaly. This solution worked fine with divs but I am using tables. I'll be rewriting for div to be able to test. Thank you very much – Kanzas Feb 01 '18 at 16:32
-