One section of my website features main articles with an image on the left and a description on the right. However, I am facing an issue where the text does not break properly when it reaches the end of the container and ends up behind the image. To better illustrate the problem, I have created a JSFiddle: JSFiddle. How can I ensure that the text breaks and starts again after the image? Is it possible to achieve this within the same container as I am currently doing? The container is styled as follows:
div{
margin-left:2.7vw;
background:black;
padding:10px;
width:50vw;
height:49vw;
word-wrap:break-word;
}
As for the image and text styles:
div img{
margin-left:-10vw;
position:absolute;
height:40vh;
width:25vw;
}
div figcaption{
color:white;
}
All these elements can be found in the provided fiddle. Any assistance on resolving this issue would be greatly appreciated. Thank you!