I’m having problems using a div with ‘position: absolute’ inside an other div with ‘position: relative’ in combination with ‘page-break-inside: avoid’. The relative divs are positioned as is expected. But the absolute positioned divs are rendered like they would be with out the page break.
A page breaking logic for absolute positioned elements was too browser-specific the time we added it to PD4ML. So we implemented two (reasonable from our perspective) modes. There were also strange approaches: i.e. the absolute positioned elements are rendered only on the first page. We did not support that.
So try the alternative mode:
[language=java:1w2yzs33]Map m = new HashMap();
Or switch the mode on by the JVM param: -Dpd4ml.absolute.address.space=document
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.