textbox Posted May 24, 2007 Share Posted May 24, 2007 Hello. echo "</select></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td>Subject:</td>\n"; echo "<td><input type=\"text\" name=\"subject\" value=\"" . (isset($error) ? $_POST['subject'] : '') . "\" maxlength=\"50\" /></td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td>Message:</td>\n"; echo "<td>\n"; echo "<textarea name=\"message\" cols=\"\" rows=\"\">" . (isset($error) ? $_POST['message'] : '') . "</textarea>\n"; echo "</td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td></td>\n"; echo "<td><input type=\"submit\" name=\"newMessage\" value=\"Send\" /></td>\n"; echo "</tr>\n"; echo "</table>\n"; echo "</form>\n"; ?> This is a 'send message' screen of my pms. How can i change the layout of this so that the subject and message fields are wider?! Quote Link to comment https://forums.phpfreaks.com/topic/52798-solved-table-layout/ Share on other sites More sharing options...
AndieB Posted May 24, 2007 Share Posted May 24, 2007 echo "<td><input type=\"text\" name=\"subject\" value=\"" . (isset($error) ? $_POST['subject'] : '') . "\" maxlength=\"50\" size=\"width you want\" /></td>\n"; Quote Link to comment https://forums.phpfreaks.com/topic/52798-solved-table-layout/#findComment-260664 Share on other sites More sharing options...
textbox Posted May 24, 2007 Author Share Posted May 24, 2007 Thanks AndieB!!! Quote Link to comment https://forums.phpfreaks.com/topic/52798-solved-table-layout/#findComment-260669 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.