HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › Positioning – bottom ignored › Re: Re: Positioning – bottom ignored
After further testing I’ve hit another problem that I can’t seem to resolve. For some reason the absolute positioning is effected by the page margin settings.
For instance if I have 5 pages each with an overlayed div which is absolutely positioned to bottom:0, for each page the absolutely positioned div moves up the page by around the same amount that the PDF margin is.
Example code:
<div id="container"><br />
<img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br />
<div id="innerBottom"><br />
this is absolute bottom<br />
</div><br />
</div><br />
<br />
<div id="container"><br />
<img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br />
<div id="innerBottom"><br />
this is absolute bottom<br />
</div><br />
</div><br />
<br />
<div id="container"><br />
<img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br />
<div id="innerBottom"><br />
this is absolute bottom<br />
</div><br />
</div><br />
<br />
<div id="container"><br />
<img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br />
<div id="innerBottom"><br />
this is absolute bottom<br />
</div><br />
</div><br />
<br />
<div id="container"><br />
<img src="./horiz-report_files/image1-h640.jpg" style="width:1000px; height:640px" /><br />
<div id="innerBottom"><br />
this is absolute bottom<br />
</div><br />
</div>
Any idea if I’m able to get it bottom aligned to the containing DIV for each slide?