niche Posted June 30, 2011 Share Posted June 30, 2011 How do you use <textarea> with an input box?I tried this, but it didn't work (obviously), but it seems close to what i need. echo 'description:<textarea rows="3" cols="30"> <input style="width:275px;height:50px;overflow:scroll;" name="description" value="' . $description . '" type="text" /> </textarea> '; Link to comment Share on other sites More sharing options...
Ingolme Posted June 30, 2011 Share Posted June 30, 2011 What would a "textarea with an input box" be for? Link to comment Share on other sites More sharing options...
niche Posted July 1, 2011 Author Share Posted July 1, 2011 This does what I need it to do: echo 'description:<textarea style="overflow:scroll;" name="description" type="text" rows="3" cols="30">' . $description . '</textarea> '; Is it good form to you? Link to comment Share on other sites More sharing options...
Ingolme Posted July 1, 2011 Share Posted July 1, 2011 The <textarea> element shouldn't have a type attribute. Link to comment Share on other sites More sharing options...
niche Posted July 1, 2011 Author Share Posted July 1, 2011 Thanks for your help Ingolme. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.