javascript - Printing a webpage with varying div sizes -
is there way make divs not cut in half when printing multiple pages? there divs trying print vary in size , print none of them cut off , full div boxes appear on single page. maybe there way calculate height of each div , if 1 puts on height of page, put on next page? know length of text within each div , maybe way, how go designating div printed on page?
use css property page-break-inside
:
Comments
Post a Comment