html - page-break-inside:avoid blank page issue in IE 10 -


i have lot of tables on page variable amounts of content in them. trying use page-break-inside: avoid; each table section not broken on 2 pages.

it working in browser not in ie 10. blank page gets added on print-preview/print

how remove blank page.

following link wiil show test page , on print preview see blank page on page no 2

http://ourclientwebsites.com/test.htm

maybe time html show:

http://msdn.microsoft.com/en-us/library/ie/ms530844(v=vs.85).aspx says re page-break-before:

"this property applies when printing document. property not apply br or hr elements."

so if applied page break <br> element in:

<br style="page-break-before:always"> 

just apply <p> element instead , work:

<p style="page-break-before:always"></p> 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -