Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6811993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:23:45+00:00 2026-05-26T20:23:45+00:00

CSS #editpro{ background:#CEEBFB; margin-left:30px; margin-right:500px; text-align:center; color:#3687cc; font-size:20px; border:2px ridge #3687cc; border-radius:15px; width:350px; }

  • 0

CSS

#editpro{
background:#CEEBFB;
margin-left:30px;
margin-right:500px;
text-align:center;
color:#3687cc;
font-size:20px;
border:2px ridge #3687cc;
border-radius:15px;
width:350px;
}

HTML

  <div id="editpro">
   <form>
     <label for="username">Username </label>
     <input  type="text" id="username" name="username"/><br /><br />
     <label for="password1">Password </label>
     <input  type="password" id="password1" name="password1" /><br /><br />
     <textarea id="myTextarea" style="width:320px"></textarea>
     <input type="submit" value="submit"/>
   </form>
  </div>

This is my page, height-wise whenever i try to expand the textarea, I do not face any problem, but when I try to stretch it width wise, it overflows out of the div editpro.

How do I control this expandability, because the width specification does not seem to control its overflow.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:23:46+00:00Added an answer on May 26, 2026 at 8:23 pm

    To disable the re-sizable feature of the text area, use

    textarea {resize:none} /* completely disable resize */
    textarea {resize:vertical} /* disable horizontal resize */
    textarea {resize:horizontal} /* disable vertical resize */
    

    See: http://dev.l-c-n.com/form-controls/resize_textarea.html

    Keep in mind, however, that this may be annoying to your user. The resizing of text areas is part of the UI now, like scroll bars or zooming text. By defeating this aspect of the UI, you have taken some control away from your user, which can be frustrating. Consider if it is necessary – after all, if the user resizing the box breaks your layout or looks funny, they aren’t going to hold it against you – they know they’ve done something to the page and won’t be confused.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

css: #container_im.collapsed{ background-color:red; height: 48px; margin-bottom: 10px; margin-right: 10px; width: 227px; } #container_im.expanded{ background-color:green;
CSS :- #sidebar .sidelink h6{ margin-left: 10px; padding-left: 22px; padding-top: 9px; color: #f1f1f1; font-size:
CSS How to make text align the background-color top line http://jsfiddle.net/5xR8V/ (padding-top : -
CSS .arrow { background:url(images/arrow.png) center left no-repeat; padding-left:23px; padding-right:10px; border-right:0px solid #e6e6e6; margin-right:10px; }
CSS: #outer{ background-color:#FFFF99; } #inner1{ float : left; } .New1{ width: 62%; } .New2{
CSS: .dynamicDiv { width:200px; border:solid 1px #c0c0c0; background-color:#e1e1e1; font-size:11px; font-family:verdana; color:#000; padding:5px; } Javascript:
CSS: .events_holder { width:100%; background-color: #d9ceae; } .events_holder .event_holder { width:100%; float: left; min-height:
CSS: .container { margin-left: 15px; width: 10px; background: #FFFFFF; border: 1px solid #CAD5E0; padding:
CSS: #content { width:630px; } .all_friends { background:url(../img/friends.png) no-repeat; margin-left:15px; height:123px; width:615px; padding-bottom:20px; }
CSS code body { background-attachment: scroll; background-clip: border-box; background-color: #ececec; background-image: none; background-origin: padding-box;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.