I have table with a set of form buttons. These buttons are of different length because their values are different. However for some reason, these buttons are not center aligned within their cells. The cells expand to the width of the widest buttons, but the smaller buttons within that column are left aligned. Is there a workaround to this? In the sample code below, the buttons in the second row force the columns to expand and the buttons in the first row are not displayed in the center of the cells despite their cell attribute.
Any help would be appreciated!
<table>
<tr>
<td width="125" align="center"><form action="Page1.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Page 1A" class="buttonA">
</td></form>
<td width="125" align="center"><form action="Page1B.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Page 1B" class="buttonA">
</td></form>
>/tr>
<tr>
<td width="125" align="center"><form action="Page2.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Go to Page 2A" class="buttonA">
</td></form>
<td width="125" align="center"><form action="Page2B.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Go to Page 2B" class="buttonA">
</td></form>
</tr>
/table>
Any help would be appreciated!
<table>
<tr>
<td width="125" align="center"><form action="Page1.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Page 1A" class="buttonA">
</td></form>
<td width="125" align="center"><form action="Page1B.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Page 1B" class="buttonA">
</td></form>
>/tr>
<tr>
<td width="125" align="center"><form action="Page2.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Go to Page 2A" class="buttonA">
</td></form>
<td width="125" align="center"><form action="Page2B.htm" method="post" target="_blank">
<input type="submit" NAME="button" VALUE="Go to Page 2B" class="buttonA">
</td></form>
</tr>
/table>