JSFiddle - React, Tailwind, and code Playground
by NGLN
HTML
<p>Stretch window to see solution in action:</p>
<div class="container">
<div class="left">
<img src="http://www.gadgets-for-men.co.uk/wp-content/themes/revolution_tech-20/images/rss-icon-50.gif" />
<span>This is text below the image</span>
</div>
<div class="right">
<span>This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text. This is text to the right of the image, will usualy contain a lot of text.</span>
</div>
</div>
CSS
.container{
border: 1px solid black;
width: 50%;
padding: 25px 0;
white-space: nowrap;
font-size: 0;
}
.left, .right {
display: inline-block;
vertical-align: middle;
white-space: normal;
font-size: 12pt;
}
.left{
width: 25%;
}
.right{
width: 75%;
}
img {
display: block;
}