How to show all the content in a div when printing the page
问题 I have a div which contains a long text and when printing the page I would like it so the whole text is being printed and not cut off the text. I can provide some sample which is not my real case but it is very similiar: <!DOCTYPE html> <html> <head> <style> .flex-container { display: flex; background:green; padding:10px } .flex-container > div { background:silver; padding:10px; } @media print { div{ } } @page { } </style> </head> <body> <div class="flex-container"> <div>1ajksd ajksd ajksd