Jump to content
xisto Community
Sign in to follow this  
fsoftball

Alignment Within A Table Cell

Recommended Posts

Hello,

I am having an issue where one cell of a row in my table is a submit button. The other cells in that row are text. I need the button to align with the text in the other cells. I tried valign, but (I guess) becasue I'm using a button, it doesn't work. Is there a buffer between the buttonand everything else? Am I able to congiure that button? If so, how?

Here is the HTML:

<tr><td><valign='center'><FORM ACTION='game.php' METHOD=POST><INPUT TYPE=HIDDEN NAME='game_id' VALUE='1125588480'><input type=submit name='submit' value='Update'></FORM></td><td valign='center'>Thursday</td><td valign='top'>September 1</td><td valign='top'>6:28</td><td valign='top'><a href='no_directions.html' target=_blank>Medford</a></td><td valign='top'><center>G</center></td><td valign='top'><center></center></td><td valign='top'><center></center></td>        <td width = '55'>         </td>        <td rowspan='25'><a href="http://http://www.qksrv.net/media/offers/?AID=10371510&PID=1465752; target="_blank" onmouseover="window.status='http://affiliates.ebay.com';return true;" onmouseout="window.status=' ';return true;"><img src="http://http://www.yceml.net/0438/10371510-9.gif; width="160" height="600" alt="" border="0"></a></td>"        </tr><tr><td><valign='center'><FORM ACTION='game.php' METHOD=POST><INPUT TYPE=HIDDEN NAME='game_id' VALUE='1124470800'><input type=submit name='submit' value='Update'></FORM></td><td valign='center'>Friday</td><td valign='top'>August 19</td><td valign='top'>8:00</td><td valign='top'><a href='http://forums.xisto.com/no_longer_exists/; target=_blank>Tufts - Field 1</a></td><td valign='top'><center>G</center></td><td valign='top'><center></center></td><td valign='top'><center></center></td></tr>

Share this post


Link to post
Share on other sites

Is this what you were trying to do?:

<table border="1"><tr><td valign="top"><FORM ACTION="game.php" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="game_id" VALUE="1125588480"><input type="submit" name="submit" value="Update"></FORM></td><td valign="top">Thursday</td><td valign="top">September 1</td><td valign="top">6:28</td><td valign="top"><a href="no_directions.html" target="_blank">Medford</a></td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td rowspan="2"><a href="http://http://www.qksrv.net/media/offers/?AID=10371510&PID=1465752; target="_blank" onmouseover="window.status='http://affiliates.ebay.com';return true;" onmouseout="window.status=' ';return true;"><img src="http://http://www.yceml.net/0438/10371510-9.gif; width="160" height="600" alt="" border="0"></a></td>"</tr><tr><td valign="top"><FORM ACTION="game.php" METHOD=POST><INPUT TYPE=HIDDEN NAME="game_id" VALUE="1124470800"><input type=submit name="submit" value="Update"></FORM></td><td valign="top">Friday</td><td valign="top">August 19</td><td valign="top">8:00</td><td valign="top"><a href="http://forums.xisto.com/no_longer_exists/; target="_blank">Tufts - Field 1</a></td><td valign="top"> </td><td valign='top'> </td><td valign="top"> </td><td valign="top"> </td></tr></table>

Share this post


Link to post
Share on other sites
<table border="0"><tr><td valign="top"><FORM ACTION="game.php" METHOD="POST"><INPUT TYPE="HIDDEN" NAME="game_id" VALUE="1125588480"><input type="submit" name="submit" value="Update">Thursday September 1 6:28 <a href="no_directions.html" target="_blank">Medford</a></FORM></td><td rowspan="2"><a href="http://http://www.qksrv.net/media/offers/?AID=10371510&PID=1465752; target="_blank" onmouseover="window.status='http://affiliates.ebay.com';return true;" onmouseout="window.status=' ';return true;"><img src="http://http://www.yceml.net/0438/10371510-9.gif; width="160" height="600" alt="" border="0"></a></td></tr><tr><td valign="top"><FORM ACTION="game.php" METHOD=POST><INPUT TYPE=HIDDEN NAME="game_id" VALUE="1124470800"><input type=submit name="submit" value="Update">Friday August 19 8:00 <a href="http://forums.xisto.com/no_longer_exists/; target="_blank">Tufts - Field 1</a></FORM></td></tr></table>

i think this will help you since its alot cleaner then true coding.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.