Forum Bugs

HR tag cases unwanted page-brak in output

kpboucher
An <HR /> tag in my markup is causing a page-break.

We are converting dynamic HTML pages top PDF, and this problem does not occur consistently. However, I have checked the markup for this particular instance (on W3C validator) and find no broken HTML. Also the only page-break declaration in my CSS is on the .page class which is the outermost wrapper. (Even if I remove this page-break declaration this happens.)

I noticed a similar post on this forum, but no fix: http://www.princexml.com/bb/viewtopic.php?f=4&t=3579&view=previous

Is this possibly a PrinceXML bug?
kpboucher
UPDATE:

This is not specific to HR tags. I eventually reproduced the same behavior with a DIV I was using to replace the HR.

It seems to be a very strange CSS rendering issue.

However, adding a wrapper div to this section and setting the top border (1px transparent) has fixed the issue for this instance.
mikeday
Do you have a small sample document that you could post here or email to me?