Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2004
    Posts
    684
    Thanks
    24
    Thanked 1 Time in 1 Post

    valign a submit button..

    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!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Post your code please (a link would be better). We aren't psychic.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Apr 2004
    Posts
    684
    Thanks
    24
    Thanked 1 Time in 1 Post
    Here is the piece of code in question..

    Code:
    <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>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •