Page break on print property (orphan) not supported in FireFox

I am using a property orphan

to add a page break when printing, if the data is large, it works in chrome and IE, but doesn't support it in FireFox .

docprint.document.write('</head>
             <body onLoad="self.print()">
              <fieldset class="result tbl" style="border-width: 0 0 0 !important;">
               <div class="table report_data" style="width:100% !important;
                          padding-left:4px !important;
                          padding-Right:5px !important;orphans:7;">');
---------------------------------------------------------^^this is not supported in Firefox

      

Does anyone know of a workaround for this problem.

+3


source to share


1 answer


Few properties cannot be supported by firefox ....



Check out this site ... and this ...

+1


source







All Articles