Solution 1 :

Your structure has tag closing mistakes. Compare your structure with below structure.

<table>
  <thead>
    <tr>
      <th width="121">Download link</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>
      	<img src="https://i.stack.imgur.com/ctwrd.png" alt="" width="20" height="20" class="dlboxicon" />[xfgiven_download]
      	<a href="[xfvalue_download]"> [xfgiven_name] [xfvalue_name] [/xfgiven_name][/xfgiven_download] </a>
      </td>
    </tr>
  </tbody>
</table>

Solution 2 :

Add the style “float:left” to your image tag to align it with the text side by side.

your HTML should become something like;

<table>
<thead>
    <tr>
        <th width="121">Download link</th>
    </tr>
</thead>
<tbody>
    <tr>
        <td>
            <img src="https://upload7.ir/up/icon-article-navy.png" alt="" width="20" height="20" class="dlboxicon"
                style="float: left;">[xfgiven_download]<a href="[xfvalue_download]"> [xfgiven_name] [xfvalue_name]
                [/xfgiven_name]
        </td>[/xfgiven_download]
        <a />
    </tr>
</tbody>

Hope it helps!

Problem :

I want put image in box, right before text I use this code but image goes up or down !

enter image description here

<table>
  <thead>
    <tr>
      <th width="121">Download link</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><img src="https://upload7.ir/up/icon-article-navy.png" alt="" width="20" height="20" class="dlboxicon" />[xfgiven_download]<a href="[xfvalue_download]"> [xfgiven_name] [xfvalue_name] [/xfgiven_name]</td>[/xfgiven_download] <a/>
    </tr>
  </tbody>
</table>

Comments

Comment posted by Jignesh Panchal

you have to close

Comment posted by Rob

Your HTML is invalid. Also, the

By