Why doesn't wkhtmltopdf page-break-after have any effect?
问题 I'm using wkhtmltopdf 0.10.0 rc2 for Mac I have an html like this one : <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <link href="print.css" rel="stylesheet"> <style type="text/css" media="screen,print"> .break{ display: block; clear: both; page-break-after: always; border :1px solid red } .page-breaker { display: block; page-break-after: always; border :1px solid red } </style> </head> <body> <div class="container break"> page 1 </div> <div class="page-breaker"></div> <div