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
Post a Comment