I'm using the orphan
property to add a page break on print if the data is large it is working in chrome and IE but no support of 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
Anybody know of workaround for this problem.
Few property cannot be supported by firefox....
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.