View Full Version : valign a submit button..

Nov 6th, 2006, 06:14 PM
Hey guys..... I have a seperate <td> cell with a image submit button in it & I'm trying to align it to the top of the cell; so have tried using 'valign="top"' & also tried using CSS but both don't work. The button just sits at the bottom of the cell instead.. any idea why?


Nov 6th, 2006, 06:27 PM
Post your code please (a link would be better). We aren't psychic.

Nov 6th, 2006, 06:33 PM
Here is the piece of code in question..

<td width="55" height="35" valign="top"><input type="image" name="submit" src="images/login_btn.jpg" width="53" height="20" border="0" /><img src="images/spacer.gif" width="1" height="35" /></td>
<td width="99" height="35" align="center" style="vertical-align: top" class="login">| <a href="signup/register.php" class="login">Register</a> |<br />| <a href="pages/lp.php" class="login">Lost Details</a> |</td>