<td id="name_3869-0_0" style="position: relative; " colspan="4">
<div style="float:left;width:100%">
<img src="/img/1.gif" align="middle" style="margin-right: 10px;" class="company_symbol" border="0">
<strong style="margin: auto 5px auto auto; ">yyyy</strong>
<a href="#"><span title="xxxx">xxxx</span></a>
<span class="mm_msg_ident"><img onclick="mm_Msg.sel('[1]730228')" src="/view/new_design/img/msg_unchecked.gif" border="0" align="top" alt="Private message to the owner of subdivision" title="Private message to the owner of subdivision"></span>
<span><a href="#" title="Cancel the contract" alt="Cancel the contract" onclick="return contractDestroy(1510428, 'xxxxx')"><img src="/img/smallX.gif" alt="Cancel the contract" border="0" align="top" style="margin-right: 1px"></a></span>
<input type="hidden" name="supplyContractData[selected][]" value="1510428">
</div>
</td>
To ensure that the two spans (one with class mm_msg_ident and the one following it) always appear in the top right corner of the div, while considering its variable size, you can utilize jquery 1.6.4 for styling these elements effectively.
For this scenario, assuming both spans have a size of 20x20 each, implementing specific CSS properties with jQuery should achieve the desired positioning.