You can add position relative to td and position absolute to image and then, set righ=0 in the image
<table style="width:100%">
<tr>
<td style="text-align:center;position:relative">
text
<img src="~/images/pencil1.png" height="25" width="25" style="position:absolute;right:0" />
</td>
</tr>
</table>
Also, if you want your table become 100%, you must set the style in the table, not in the cell.
Take in mind that your text may be under the image. You can put the text over the image if you want avoid this or use a semitransparent image.