sepoto Posted March 11, 2011 Share Posted March 11, 2011 I have a Textarea defined in my form. When I view the form in Chrome I see at the lower right hand corner of the Textarea two small diagonal lines looking like dog ears or tick marks. If I move the mouse over that area I can resize the Textarea. I want to prevent a user from resizing the Textarea becasue this could cause me problems with my CSS and jQuery in the future. Does anyone know how to do this?Thank you! <form method="post" action="php/sendemail.php" style='border: 1px solid black; width: 350px; text-align: left; padding: 25px;'> <!-- DO NOT change ANY of the php sections --> <?php $ipi = getenv("REMOTE_ADDR"); $httprefi = getenv ("HTTP_REFERER"); $httpagenti = getenv ("HTTP_USER_AGENT"); ?> <input type="hidden" name="ip" value="<?php echo $ipi ?>" /> <input type="hidden" name="httpref" value="<?php echo $httprefi ?>" /> <input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" /> <span>Your Name:</span> <br/> <input type="text" name="visitor" size="35" /> <br/> Your Email:<br/> <input type="text" name="visitormail" size="35" /> <br/> <input type="hidden" name="attn" value="Webmaster" /> <br/> Mail Message: <br /> <textarea name="notes" rows="10" cols="40"></textarea> <br /> <input type="submit" value="sendmail" /> <br /> </form> Link to comment Share on other sites More sharing options...
dsonesuk Posted March 11, 2011 Share Posted March 11, 2011 just usetextarea { resize: none;}http://www.w3schools.com/css3/css3_pr_resize.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.