php - Printing html tables that fit to page -


so have report generates multiple tables database, , grouping them 'owner' creating new table each 'owner'. dynamically using angular/php/js.

in print preview want each table have it's own page(tables shouldn't go beyond length of page) added page-break-after value each table.

my issue tables cut off. have option landscape, unfortunately long tables, , still cut off.

i have searched both here, google , w3 method re-sizes tables fit print preview far have had no luck.

suggestions?

you can use media query this. target @print , trial , error correctly when viewing in print preview. i'm assuming haven't done this.

https://css-tricks.com/css-media-queries/


Comments

Post a Comment

Popular posts from this blog

python - cx_oracle unable to find Oracle Client -

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -