I want to place some text on an image, but html2pdf put the text next to it.
This is my code :
<!-------------------------------------------------
<div class="image">
<img src="image.png" ?>" width="600" height="200" />
<div class="var">001</div>
</div>
<style>
.image {
position:relative;
z-index:1;
margin-bottom:2px;
width:600px;
height:200px;
}
.var {
position:absolute;
top:0px;
left:0px;
}
</style>
<!-------------------------------------------------
There is a solution?
Thank