title: move span element right to div tag
body: <p>I have below html code. How to move span element with image right to the div tag?</p>
  
  <p>Below is the code</p>
  
  <pre><code>    &lt;div style='width:600px;padding-top: 2px;padding-bottom: 1px'&gt;
              &lt;span style='padding-left: 25px'&gt;" + rank + "&lt;/span &gt;
             &lt;span style='padding-left: 35px'&gt;&lt;img id='img1' class='img-rounded' alt='' width='50' height='50' src='test.jpg' /&gt;&lt;/span&gt;
             &lt;span style='position:absolute;padding-left: 30px' &gt;" + o.Title + "&lt;/span&gt;
            &lt;span style='position:absolute;float:right'&gt;
              &lt;img   class='img-rounded' alt='' width='20' height='10' src='images/Information.png' /&gt;
           &lt;/span&gt; 
  
    &lt;/div &gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/2beAz.png" rel="nofollow noreferrer">expected ouput</a></p>