How to avoid page break inside table row for wkhtmltopdf
I am generating pdf report from html page with one table . I am using wkhtmltopdf for the purpose. when pdf is generated it breaks anywhere in tr tag . I want to avoid it . Nenotlep Update 17.09.2015: Check the version you are using: wkhtmltopdf 0.12.2.4 is said to fix the problem (I have not checked) . This is a known issue in wkhtmltopdf. The page breaking algorithm used by webkit (the WK in WKhtmltopdf) doesn't really work well for large tables. I suggest breaking the table down to smaller chunks that are more easily split to pages and using the css a lot: table, tr, td, th, tbody, thead,