google瀏覽器 打印A4 最大寬度和高度px


width: 1563px;(max)
1348+152 = 1400 分頁了
1348+151 = 1398 分頁了
1348+150 = 1398 沒有分頁

 

 var height = Math.Ceiling((double)(1398/ ViewBag.results[0].Count));
 <td width="15%"><div class="tbth" style="height:@(height)px;line-height: @(height)px;"><span>@item[i].Column2</span></div></td>
 <td align="right"><div class="dhg2"style="height:@(height-5)px;"><span>@item[i].Column5 &nbsp;</span></div></td>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM