ReVeR Posted March 19, 2006 Share Posted March 19, 2006 Hello.I am using forms, and i am getting large edit boxes for some reason...i can;t quite understnad....does anyone know how to shink them down? they are to big vertically....and i donno how to make it smaller even though i got row set to 1.[code]<form method="post" name="idform"> <table align="center" width="550" border="0" cellpadding="2" cellspacing="1"> <tr> <td height="20" width="100">First ID:</td> <td> <textarea name="id1" cols="40" rows="1" id="id1"></textarea></td> </tr> <tr> <td width="100">Last ID:</td> <td> <textarea name="id2" cols="40" rows="1" id="id2"></textarea></td> </tr> <tr> <td width="100"> </td> <td> <input name="btnId" type="submit" id="btnId" value="Load Products""> </td> </tr> </td> </tr> </table> </table> </form>[/code] Link to comment https://forums.phpfreaks.com/topic/5285-strange-form-behaviour/ Share on other sites More sharing options...
earl_dc10 Posted March 19, 2006 Share Posted March 19, 2006 one thing you could do is use CSS max-height in conjunction with overflow Link to comment https://forums.phpfreaks.com/topic/5285-strange-form-behaviour/#findComment-18834 Share on other sites More sharing options...
Gast Posted March 23, 2006 Share Posted March 23, 2006 Easiest way to control textarea height and width is to use CSS:[code]<textarea style="width:200px; height:100px; border:1px solid #666666"></textarea>[/code] Link to comment https://forums.phpfreaks.com/topic/5285-strange-form-behaviour/#findComment-19897 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.