Site Overlay

Printing Table Headers on Every Page

It is sometimes necessary to print table headers on every page for long html tables spanning multiple pages.

    thead {display: table-header-group;}

<table cellpadding=”0″ cellspacing=”0″>
            <th>Phone no.</th>
    ….long html table here ….

Note: Does not work in  Chrome, Safari or Opera however.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2020 Sugat Shrestha. All Rights Reserved. | Catch Vogue by Catch Themes