Printing Issues - CSS page breaks

%3CLINGO-SUB%20id%3D%22lingo-sub-1491187%22%20slang%3D%22en-US%22%3EPrinting%20Issues%20-%20CSS%20pagebreak-*%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1491187%22%20slang%3D%22en-US%22%3E%3CP%3EI%20seem%20to%20be%20having%20printing%20issues%20relating%20to%20the%20use%20of%20CSS%20pagebreaks.%3C%2FP%3E%3CP%3EIf%20I%20have%20a%20page%20with%20a%20series%20of%20tables%2C%20I'll%20typically%20do%20something%20like%20this%20in%20my%20stylesheet%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-css%22%3E%3CCODE%3E%40media%20print%20%7B%0A%20%20%20%20table%7Bpagebreak-after%3Aalways%3B%20pagebreak-inside%3Aavoid%3B%7D%0A%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BWhile%20the%20new%20Edge%20responds%20to%20other%20media%20directives%2C%20it%20seems%20to%20ignore%20pagebreak%20instructions%20entirely%2C%20so%20I%20get%20page-spanning%20tables.%20Is%20anybody%20else%20having%20these%20issues%3F%26nbsp%3B%20It%20really%20makes%20for%20ugly%20printed%20tabular%20reports.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

I seem to be having printing issues relating to the use of CSS page breaks.

If I have a page with a series of tables, I'll typically do something like this in my stylesheet:

 

@media print {
    table{page-break-after:always; page-break-inside:avoid;}
}

 

 While the new Edge responds to other media directives, it seems to ignore page break instructions entirely, so I get page-spanning tables. Is anybody else having these issues?  It really makes for ugly printed tabular reports.

0 Replies