...

View Full Version : valign a submit button..



cyphix
11-06-2006, 05: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?

Thanks!

_Aerospace_Eng_
11-06-2006, 05:27 PM
Post your code please (a link would be better). We aren't psychic.

cyphix
11-06-2006, 05:33 PM
Here is the piece of code in question..



<tr>
<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>
</tr>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum