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