• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1309
  • Last Modified:

IE8 Print page breaks within html row

Our app uses IE8 and generates a report in html (tables and rows).  When I print that report within IE8, the long rows of data sometimes page breaks within the row whereas if I open that report and try it under Firefox, the print breaks where expected and does not chop off words in the middle of a row (printing only the top half of a row).  I have tried some changes in the CSS but there must be some other solution within IE8 settings etc.

The solution: "Use Firefox" is not an acceptable answer.

Thank you in advance for your guidance.
0
PAR6
Asked:
PAR6
1 Solution
 
Shreedhar EtteCommented:
0
 
JuamezCommented:
Can you give us dummy code and content that displays the unwanted behavior in IE8?
0
 
PAR6Author Commented:
Thank you shreedhar,

I have found a better link for the complete solution:

http://msdn.microsoft.com/en-us/library/cc304067(VS.85).aspx

The meta tag was important.

<meta http-equiv="X-UA-Compatible" content="IE=8" />

<style type="text/css">
@media print {
    p {
        page-break-inside: avoid;
    }
}
</style>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now