You should have "rows" and "columns" values in a textarea: http://www.w3schools.com/tags/tag_textarea.asp Also consider using CSS instead of tables for the layout: http://www.sitepoint.com/style-web-forms-css/ -- Stephen On 14-12-27 09:34 PM, Tim Dunphy wrote:
Hey gang, Quick q here. And I think this might be an easy one. But I'm unsure as to why this is happening. I've created a text area in an HTML form with the intention of getting the user to enter an address. <tr> <td>Address</td> <textarea name="address" form="usrform">Enter text here...</textarea> </tr> But when I put that into the form, the resulting web page shows the text area at the TOP above the rest of the elements. This is what it looks like: Inline image 1 You can also view this form here: http://php.lyricgem.com/ch01/orderform.html Here's the rest of this form: <!doctype html> <html lang="en-us"> <head> <meta charset="utf-8"> <title>Order Form</title> </head> <body> <form action="processorder.php" method="post" id="usrform"> <table border="0"> <tr bgcolor="#cccccc"> <td width="150">Item</td> <td width="15">Quantity</td> </tr> <tr> <td>Tires</td> <td align="center"> <input type="text" name="tireqty" size="3" maxlength="3" /></td> <tr> <td>Oil</td> <td align="center"><input type="text" name="oilqty" size="3" maxlength="3" /></td> </tr> <tr> <td>Spark Plugs</td> <td align="center"><input type="text" name="sparkqty" size="3" maxlength="3" /></td> </tr> <tr> <td>Address</td> <textarea name="address" form="usrform">Enter text here...</textarea> </tr> <tr> <td colspan="2" align="center"><input type="submit" value="Submit Order" /></td> </tr> <tr> <td>How did you find Bob’s?</td> <td><select name="find"> <option value="a">I’m a regular customer</option> <option value="b">TV advertising</option> <option value="c">Phone directory</option> <option value="d">Word of mouth</option> <option selected="selected" value="e">Don't know</option> </select> </td> </tr> </table> </form> </body> I realize that this question isn't strictly PHP related. But I also that HTML forms like this are sort of commonplace in working with PHP. I definitely appreciate any help you may be able to provide! Thanks Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net <http://pool.sks-keyservers.net> --recv-keys F186197B
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php