Hi,
I have a div(MedicalBriefsDocumentsTable) with the align attribute set to "center”. I have a span(currentClaimantName) with no align attribute.

How can I align the span with the div using JavaScript because the div will expand or shrink based on contents. I want to know where the div position starts and assign that to span using JavaScript.

Please make sure that the div and the span are empty when the page loads. The div and the span will fill when user selects a row from another table.

My Html is:
Code:
	<table align="center">		
		    <tr>
		        <td>
		            <span id="currentClaimantName"></span>
		        </td>
		    </tr>
		    <tr>
		        <td>
		            <div id="MedicalBriefsDocumentsTable" align="center"></div>
		        </td>
		    </tr>
		</table>
Thanks