Linked Questions

2 votes
2 answers
14k views

Possible Duplicate: Autosizing Textarea Hello all, I am trying to solve a problem and getting absolutely no where with it. What I am trying to do is dynamically change the height of an inputbox ...
WeaponsTheyFear's user avatar
3 votes
1 answer
12k views

Possible Duplicate: Autosizing textarea using prototype How do I change the height of a text area based on the number of lines of text that the user puts into it? For the example below if the ...
Web_Designer's user avatar
  • 75.1k
0 votes
2 answers
83 views

Possible Duplicate: Autosizing Textarea Hi, I have developed a web form where one field is description. I want that field to be bigger in size, so that users can see the full description. How do ...
Sarthak's user avatar
550 votes
54 answers
751k views

There was another thread about this, which I've tried. But there is one problem: the textarea doesn't shrink if you delete the content. I can't find any way to shrink it to the correct size - the ...
DisgruntledGoat's user avatar
215 votes
18 answers
244k views

I am filling a textarea with content for the user to edit. Is it possible to make it stretch to fit content with CSS (like overflow:show for a div)?
significance's user avatar
  • 5,155
266 votes
8 answers
647k views

I want to make height of textarea equal to height of the text within it (And remove the scroll bar) HTML <textarea id="note">SOME TEXT</textarea> CSS textarea#note { width:100%; ...
Mohammad Mahdi Naderi's user avatar
70 votes
9 answers
51k views

I'm trying to add the Ace editor to a page, but I don't know how to get the height to be set automatically based on the length of its contents. Ideally it would work so when the content changes the ...
limitlessloop's user avatar
22 votes
6 answers
32k views

How does Stackoverflow implement the resizable textarea? Is that something they rolled themselves or is it a publicly available component that I can easily attach to textareas on my sites? I found ...
Mark Biek's user avatar
  • 152k
8 votes
9 answers
23k views

I'm trying to find the best textarea autogrow plugin. I need one which resizes the textarea even when I paste into it. Any idea?
Hirvesh's user avatar
  • 8,012
9 votes
1 answer
24k views

I am trying to make the textarea scale according to page size. I.e I am trying to make the textarea fill the space between the second container and the footer. HTML: <!DOCTYPE html> &...
DarkRoast's user avatar
  • 239
18 votes
5 answers
901 views

Introduction I'm currently creating a templatebuilder where users can build a template for an app. The user can drag and drop multiple blocks, such as text blocks and 'custom code' blocks. The ...
Jordy's user avatar
  • 4,785
3 votes
1 answer
15k views

I'm trying to resize a textarea to fit the content in it, as tightly as possible. Here's my current effort: function resizeTextarea(t) { a = t.value.split('\n'); b = 1; for (x = 0; x < a.length; x+...
Alex S's user avatar
  • 26.2k
4 votes
1 answer
28k views

I have to show data from database with multiline textbox. How can i set height auto in this multiline textbox? My code is here, <asp:TextBox ID="txtNaiyo" runat="server" TextMode="MultiLine" Rows="...
KMH's user avatar
  • 61
2 votes
2 answers
8k views

I have a textarea whose background is a hand-drawn box. I'd like for the height of the background image to stretch along with the text that goes in it. So when text is input beyond the height/width of ...
JVG's user avatar
  • 21.3k
4 votes
3 answers
11k views

There is a similar thread about this. But I want to have a multiline TextBox with automatic width (fit width to the larger row). With this code I can have a multiline TextBox (automatic height) ...
Coyolero's user avatar
  • 2,453

15 30 50 per page