I'm noticing a difference between how this appears in a browser versus an email. The text on the image looks perfect when viewed on Mozilla/Chrome, but when I use the same code in an email, the text ends up displaced below the image (right beneath it):
<div style="height: 260px; position: relative; text-align: center; color: white">
<br><br>
<img src="https://www.jquery-az.com/html/images/banana.jpg" alt="" width="400"
style="height:auto;display:block;" />
<div style="position:absolute; bottom: 8px; font-size: 60px; left: 40px;">Some text</div>
</div>
Can anyone explain why this is happening?
Appreciate any insights.