Guest Posted March 25, 2011 Share Posted March 25, 2011 How can I make this textarea box height larger? The width is fine but I need to make it a little taller so I don't have to scroll to see what I've typed in. Thanks <tr> <td colspan="4"><b>Notes:</b> <textarea style= "width: 100%"> </textarea> </td> </tr> [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/231688-text-area-box-isses/ Share on other sites More sharing options...
will35010 Posted March 25, 2011 Share Posted March 25, 2011 Use rows. Like: <tr> <td colspan="4" ><b>Notes:</b> <textarea style= "width: 100%" rows="10"> </textarea> </td> </tr> Link to comment https://forums.phpfreaks.com/topic/231688-text-area-box-isses/#findComment-1192169 Share on other sites More sharing options...
Guest Posted March 25, 2011 Share Posted March 25, 2011 I tried that with no change to the text area size... <tr> <td colspan="4"><b>Notes:</b> <textarea style= "width: 100%" rows"10"> </textarea> </td> </tr> Link to comment https://forums.phpfreaks.com/topic/231688-text-area-box-isses/#findComment-1192174 Share on other sites More sharing options...
will35010 Posted March 25, 2011 Share Posted March 25, 2011 I tried that with no change to the text area size... <tr> <td colspan="4"><b>Notes:</b> <textarea style= "width: 100%" rows"10"> </textarea> </td> </tr> You have to change the value of rows to make it change. Link to comment https://forums.phpfreaks.com/topic/231688-text-area-box-isses/#findComment-1192243 Share on other sites More sharing options...
kenrbnsn Posted March 25, 2011 Share Posted March 25, 2011 You need to have the correct HTML markup for this to work: <textarea style= "width: 100%" rows="10"> </textarea> Ken Link to comment https://forums.phpfreaks.com/topic/231688-text-area-box-isses/#findComment-1192310 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.