Ich möchte einen Text in einem Bild immer unten rechts positionieren.
Alternative mit CSS und HTML hat den Vorteil, dass das Bild im Original erhalten bleibt:
.bild {
position: relative;
}
.bild p {
position: absolute;
bottom: 5px;
left: 5px;
background-color: rgba(255,255,255,0.6);
}
<div class=bild>
<img src="bild.jpg" ...>
<p>Dies ist ein Bild</p>
</div>
Linuchs