いくつかのdivを含むtheadを持つテーブルがあります。imgでdivを削除すると正しく機能しますが、それらの1つにimgを追加すると、印刷モードでページごとに繰り返されず、背景も追加しますimg の代わりに画像をダイビングしますが、まだ機能していません。また、th tah の背景画像もまだ機能していません。私のコードは以下の通りです:
<thead style="border:0;">
<tr>
<th colspan="8" >
<div align="right" style="display:inline-block;
background-image:url(http://persiacala.com/cache/fck_files/image/logo.png);
background-repeat:no-repeat; background-position:right; text-align:right;
width:1200px; he text-align=right; height:190px;">
</div>
<div class="nochangeLang" align="left" style="border-bottom:solid 1px;
margin-left:50px; margin-right:250px; text-align:center;
font-family:Aharoni; font-size:14pt; " >
ProFoma Invoice No :$شماره پيش
</div>
<div align="left" class="nochangeLang" style="padding-bottom:9px;
margin-left:50px; text-align:left; font-family: Aharoni;
font-size:12pt;">
Date:$DateDigit$
</div>
<div class="nochangeLang" align="left" style="font-family: Aharoni;
font-size: 11pt; text-align:left;">
TO:$CompanyNameRequester$
</div>
<div align="left" style="font-family: Aharoni;
font-size: 11pt; text-align:left;">
Att:$PersonNameRequester$
</div>
<div align="left" style="font-family: Aharoni; font-size: 11pt; text-align:left;">
Ref No:$RefNo$ Requsted DD.:$RequestedDD$
</div>
</th>
</tr>
</thead>
また、この css を css シートに追加します。
thead {
display:table-header-group;
}
まだ機能していませんが、img を削除すると機能します! 手伝ってくれてありがとう。