- This topic is empty.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
December 13, 2016 at 4:54 am #248951
surabhivin
ParticipantHello ,
I am trying to repeat <thead> on every page while printing but as one column increase in it ,it does not repeated on second page .Here is my code
<!–css code –>
<style>@media print {
thead { display: table-header-group;}
}
</style>
<!–css code –>
<!–html code –>
<table id=”tbl_head” width=”100%”>
<thead>
<tr>
<th style=”border-bottom:2px solid #999;”><!--Customize Header --> <table width="100%"> <tbody> <tr> <td colspan="3"> <h4 style="text-align: center; font-weight: normal; background: #ccc none repeat scroll 0% 0%; font-size: 16px; padding: 8px 0px; margin: 2px 0 0 0; border: 1px solid #000;">FULLY COMPUTERISED LAB</h4> </td> </tr> <tr> <td style="text-align:left;"> <span style="text-align: left;margin-bottom: 0px;font-size: 22px;font-weight:bold">Test</span> <span style="font-size: 12px;margin-top: 5px">Test Centre</span> </td> <td style="text-align:left;"> <span style="font-size:18px;margin-bottom: 2px;margin-top: 2px">Dr. sharma</span> <span style="margin-top:2px">M.D.</span> </td> <td style="text-align:left;"> <span style="font-size:10px"><b>Address</b></span> <span style="font-size:10px"><b>Phone: 0731-787878, Mobile: </b></span> <span style="font-size:10px"><b>Email: [email protected]</b></span> <span style="font-size:10px"><b>Time: 7:30am to 10pm; Sunday 8am to 1pm</b></span> </td> </tr> </tbody> </table> <!--Customize Header --> </th> </tr> </thead> <tbody> <tr> <td> <!-- some other code here --> </td> </tr> </tbody>
</table>
<!–html code –> -
AuthorPosts
Viewing 1 post (of 1 total)
- The forum ‘CSS’ is closed to new topics and replies.