1、打印出A4紙的格式。
樣式中加入
@page {
size: 8.5in 11in;
/*@bottom-center {*/
/*content: "page " counter(page) " of " counter(pages);*/
/*}*/
}
2、pdf分頁
如果想分頁,加
1 <div class="content" style="page-break-before:always;">
3、table td 換行
1 <table cellspacing="0" cellpadding="0" width="100%" style="table-layout:fixed; word-break:break-strict;word-wrap:break-word;word-break:break-all;">
4、input 的 disabled="disabled" 無效?不知道怎么解決?哪位大神搞定給我留言。
