MDanz Posted January 21, 2010 Share Posted January 21, 2010 check my website. http://www.stackway.com/ under the logo, the register input text field, should be in-line with the rest of the menu but it goes to the top.. Even though v-align=bottom? There's nothing wrong with the code? So how do i fix this? is there anything "wrong" with the php? <?php if ($_SESSION['username']){} else {echo "<form enctype='multipart/form-data' action='register.php' method='post' name='reggie'><input type='text' value='Type Username' name='Uzer' size='17' style='font-size: 10px;'/><input type='submit' value='Register' name='submit' style='font-size: 10px;'/></form>"; }?> Link to comment https://forums.phpfreaks.com/topic/189268-problem-with-table-input-box-wont-v-align/ Share on other sites More sharing options...
teamatomic Posted January 21, 2010 Share Posted January 21, 2010 Move the <form></form> out of the cell, like this. and drop the line break. <tr><form enctype='multipart/form-data' action='register.php' method='post' name='reggie'> <td align="left" valign="bottom"><input type='text' value='Type Username' name='Uzer' size='17' style='font-size: 10px;'/><input type='submit' value='Register' name='submit' style='font-size: 10px;'/></td> <td width="140" align="left" valign="bottom"><font color=#FFFFFF font face='Comic Sans MS' font size=2px style='text-decoration: none';><a href='stacker.php' class='Options3'><img src=addwebmini.jpg><strong> Add Webpage </strong></a></font></td> <td width="109" align="left" valign="bottom"><font color=#FFFFFF font face='Comic Sans MS' font size=2px style='text-decoration: none';><a href='uinfo.php' class='Options3'><img src=addtopicmini.jpg><strong> Add Topic </strong></a></font></td> <td width="254" align="left" valign="bottom"><font color=#FFFFFF font face='Comic Sans MS' font size=2px style='text-decoration: none';><a href='uimage.php' class='Options3'><img src=addimagemini.jpg><strong> Add Image </strong></a></font></td> <td width="194" align="right" valign="bottom"><font color=#FFFFFF font face='Comic Sans MS' font size=2px style='text-decoration: none';><a href='ustack.php?search=&submit=Go!' class='Options2'><strong> User Stacks </strong></a></font></td> </form> </tr> HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/189268-problem-with-table-input-box-wont-v-align/#findComment-999205 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.