Our content is previewed in a browser for approval prior to the same file and CSS being shuttled off to Prince for a PDF. We have noticed that the line breaks vary between the two. I have prepared an example that illustrates this problem. In this example I have added "br" tags, which we do need to be able to do from time to time to control the line endings in titles. Of course my example has them on every line to help illustrate the point.
What I can't figure out is why the lines break differently. I thought it at first might be the inch to pixel math on the width of the "p" but I have opened the file in multiple browsers and I am seeing widths in pixels that vary as much as 0.2045 pixels but of course I am still not seeing the text re-wrap until I create the PDF.
What I can't figure out is why the lines break differently. I thought it at first might be the inch to pixel math on the width of the "p" but I have opened the file in multiple browsers and I am seeing widths in pixels that vary as much as 0.2045 pixels but of course I am still not seeing the text re-wrap until I create the PDF.