openhtmltopdf
openhtmltopdf copied to clipboard
about the question of the style that is ”position: absolute“
when the page content is not full,be half or less,for example <div style="position:absolute ;bottom:10px"></div>,the style "position:absolute ;bottom:10px" does not good work,then the div's position is relative the bottom content position.
I met the same problem, while using <div style="position:absolute ;left:85;top:120>. It does not work. The html file shows correctly on chrome. Is there any way to solve it ?
@pipti - The div's position is relative to the end of the html element (or the parent layer), but I can see why it would be useful to position content relative to the last page bottom. Got any suggestions for syntax?
@yanweitong - You just need to use units such as px
. Browsers are a lot more forgiving than this project.
<div style="position:absolute ;left:85px;top:120px>
. Although, you may have got a warning in your logs.
I appreciate you answer,i understand that
Hi, Have you any solution for this case? i have same problem with postion absolute :((