I have a container with an image that is floated to the right side:
https://i.sstatic.net/eoumM.png
<body style="
width: 300px;
">
<img style="
background: red;
width: 100px;
height: 150px;
float: right;
/* position: relative; */
/* top: 112px; */
"><h1 style="
margin: 0;
">Lorem ipsum dolor sit amet
</h1>
<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</div>
</body>
I want to move the image to the end of the container while still having the text wrap around it:
https://i.sstatic.net/tZTKV.png
Is there a way to achieve this without breaking the text wrapping around the image? I've checked similar questions but they seem more focused on using floats for design rather than addressing this specific issue.