Re: thanks a lot
[quote="peer2peer":1vv3cpyp]but the problem is i need to control the width of each TD
how can i do that??
thanks[/quote:1vv3cpyp]
Then use your original script, but set width="1%" in the <table> like this:
[code:1vv3cpyp]<table width="1%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td class="headerTabNew tabMainNew" width="51" nowrap><a href="" class="tabtxt">1</a></td>
<td class="headerTabSpacer"> </td>
<td class="headerTabNew tabMainNew" width="51" nowrap><a href="" class="tabtxt">2</a></td>
<td class="headerTabSpacer"> </td>
<td class="headerTabNew tabMainNew" width="51" nowrap><a href="" class="tabtxt">3</a></td>
<td class="headerTabSpacer"> </td>
<td class="headerTabNew tabMainNew" width="51" nowrap ><a href="" class="tabtxt">4</a></td>
<td class="headerTabSpacer"> </td>
<td class="headerTabNew tabMainNew" width="51" nowrap><a href="" class="tabtxt">5</a></td>
<td class="headerTabSpacer"> </td>
<td class="headerTabNew tabMainNew" width="51" nowrap><a href="" class="tabtxt">6</a></td>
<td class="headerTabSpacer"> </td>
<td class="headerTabNew tabMainNew" width="51" nowrap><a href="" class="tabtxt">7</a></td>
</tr>
</table>[/code:1vv3cpyp]