title: How to position text on the right side of an image
body: <p>I want to place my paragraph text on the right side of an image, just like in this mockup:
  <a href="https://imgur.com/a/ArDIEqH" rel="nofollow noreferrer">https://imgur.com/a/ArDIEqH</a></p>
  
  <p>I aligned the text by setting the display of the parent to flex and it now looks like this:
  <a href="https://imgur.com/a/wECtedW" rel="nofollow noreferrer">https://imgur.com/a/wECtedW</a></p>
  
  <p>The text is dropping on a new line on each word, how can I make it look like in the mockup?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.zodiac-info {
    width: 500px;
  }
  
  .blog-entry-name {
    padding: 0px;
  }
  
  .zodiac-paragraph {
   color: black;
   width: 200px;
  }
  
  .blog-entry-container {
    margin-top: 100px;
    margin-left: 250px;
  }
  
  .blog-entry {
    display: flex;
  }
  ```</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;section class="zodiac-info"&gt;
      &lt;div class="blog-entry-container"&gt;
      &lt;input  type="search" class="search-box fa fa-search" placeholder="  &amp;#xf002 search"&gt;
      &lt;div class="blog-entry"&gt;
        &lt;img src="../assets/images/test-image.jpg" alt="test image" class="test-img"&gt;
        &lt;p class="zodiac-paragraph"&gt;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.&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="blog-entry"&gt;
          &lt;img src="../assets/images/test-image.jpg" alt="test image" class="test-img"&gt;
          &lt;p class="zodiac-paragraph"&gt;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.&lt;/p&gt;
        &lt;/div&gt;
        &lt;div class="blog-entry"&gt;
            &lt;img src="../assets/images/test-image.jpg" alt="test image" class="test-img"&gt;
            &lt;p class="zodiac-paragraph"&gt;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.&lt;/p&gt;
          &lt;/div&gt;
        &lt;/div&gt;
    &lt;/section&gt;</code></pre>
  </div>
  </div>
  </p>