How can I put text next to an image already on the background image?

advertisements

This is what I am trying to accomplish. That background is an image, there is another image on top of that:

I have come thus far using this:

<img src="https://www.vizsy.com/public/images/brandow/Landing_Page_background.png" style="position: relative; top: 0; left: 0;"/>      

<img src="http://www.psychiatry.emory.edu/images/cloud2.png" style="position: absolute; top: 30px; left: 70px;"/>

But right now, I have trouble putting the writings beside the picture as shown.

How could one do that using only html and css?


Here is a bootstrap based solution...

Note: The image and text will automatically wrap on really small devices.

body {
  background-image: url(http://placehold.it/1000/afeeee?text=background+cover);
  background-position: center;
  background-size: cover;
}
img{
  width: 100%;
}
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
  <div class="row">
    <div class="col-sm-4"><img src="http://placehold.it/400?text=logo"></div>
    <div class="col-sm-8"><p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p></div>
  </div>
</div>