The page-break-inside property sets whether a page break is allowed inside a specified element.Note: You cannot use this property on absolutely positioned elements.
page-break-inside: auto|avoid|initial|inherit;
@media print { p {page-break-inside: avoid;} }