css - Show HTML table header only on page break, set display none for 1st occurence -
i have table this:-
<table> <thead><tr><td>heading1</td><td>heading2</td></tr></thead> <tbody> <tr><td>data1</td><td>data2</td></tr> <tr><td>data1</td><td>data2</td></tr> <tr><td>data1</td><td>data2</td></tr> </tbody> </table>
the number of rows in tbody might when printing table, might have page break. need need display table header on page break, i.e. should not printed on first page, on pages load due page break.
i know can repeat table header on pages in ie, using css:
table thead {display: table-header-group;}
but how can achieve scenario?
Comments
Post a Comment