简体   繁体   中英

How can i avoid breaking the border of pages while page-break in printing the html

In my project i'm having a table data displayed on the body. While printing the page its breaking in to multiple pages but the border also getting broke, as part of that the bottom border for first page and the top border for the continued pages are not coming.

I tried giving border in @media print for the each row, but in that case im getting double border

You have to write CSS for Media Print like we are doing it for responsiveness. @media print {syles go here}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM