php - page break after certain tables -


my problem : have page several html tables want print. tables have many rows, other have not. want print first , second table (the big ones) in seperate pages , rest of them (small ones) 2 per page. how can put page-break want to? tried

<style> @media print { table {page-break-after: left} } </style> 

but puts page break after each table, not want.

anyone can help??? , regards!

i put rule class, , apply class each table.

@media print  {    table.break {page-break-after: left}   } 

and html:

<table class="break"> 

Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -