Questions tagged [autogrow]

When it relates to HTML, autogrow refers to the auto-expansion of HTML element's width or height.

Autogrow is nothing but increasing the dimensions of HTML elements using CSS or some other tools with respect to the contents inserted into it.

Most of the HTML elements have the property of expanding its width and height according to the content inserted into it if we do not set width or height through CSS.

Some elements like DIV,h,p etc have width:100% as default. So we may initially set width/height to some values for these kind of elements. And there may be some situations, we need to expand these containers according to dynamically inserted contents (may be text, image etc...) or sometimes we may want to expand elements beyond browser window also. In these situations some CSS tricks will help us to increase width and height of the container with respect to the content.

64 questions
0
votes
2 answers

jQuery, textarea resize

So I have the standard textarea autogrow code below, which I've changed to bind on input propertychange so as to capture pastes. (function($) { $.fn.autogrow = function(options) { return this.filter('textarea').each(function() …
Resurgent
  • 525
  • 2
  • 9
  • 20
0
votes
2 answers

Using jWYSIWYG with autoGrow (textarea) in jQuery

I'm trying to use jWYSIWYG and autoGrow together so that the textarea in the jWYSIWYG editor expands as you type. Either jWYSIWYG works or autoGrow works, but not both together. I'm pretty new to jQuery, so would appreciate hearing what I'm doing…
Josh Smith
  • 14,674
  • 18
  • 72
  • 118
0
votes
1 answer

Expand Textarea Horizontally

I found this JQuery plugin: https://github.com/rotundasoftware/jquery.autogrow-textarea I follow the related guide, but I didn't get any result. I tried to call this in my document.ready() $( "textarea" ).autogrow( { vertical : true, horizontal :…
Naramsim
  • 8,059
  • 6
  • 35
  • 43
0
votes
2 answers

WPF ListView autogrow column

If I create a simple ListView with an auto-grow column, it only auto grows the first "batch" items are added. Why does this happen, and is there any way to fix it? I've tried both using an ObservableCollection (example shown), and manually adding…
Lee
  • 1,591
  • 1
  • 14
  • 28
0
votes
1 answer

How to grow a textbox to match size of input for data entry dynamically (ASP.NET)

I'd like to add a description field to an application that can be as long as several lines (or even paragraphs) or as short as a one-liner. Instead of taking up a lot of screen real estate or have scroll bars, it would be preferable to have the…
Terry
  • 21
  • 1
  • 4
0
votes
0 answers

flip and grow animation in jquery

I need to make a page that looks like a deck of cards. On click of a card, the card flips and it shows details about it. I have implemented the flip animation using jquery. But i need to flip and grow the card since the details have large content.…
vjeta
  • 1,178
  • 2
  • 11
  • 18
0
votes
2 answers

PostgreSQL: limiting table or database growth?

We had a database spin itself out of control and fill the SAN partition it was sharing with other services. In some other RDBMSen, there are ways to disable autogrowth. I've not found that approach (yet) with Postgres. Putting aside the problem…
Joe Creighton
  • 1,132
  • 1
  • 9
  • 13
0
votes
1 answer

Jquery .each() not working in chrome

I am using the Jquery Elastic. It works fine with Firefox but fails in chrome. I have only one textarea I am using it on. HTML: Binding the textarea with the plugin…
Varun Jain
  • 1,901
  • 7
  • 33
  • 66
0
votes
1 answer

Grow table td height dynamically depending on the information on table

I have a html table. One of the td's have 2 divs and a rad tab strip in them.Something like First td Second td
....
RookieAppler
  • 1,517
  • 5
  • 22
  • 58
0
votes
1 answer

How to fix Textarea Auto-Grow inside an Accordian

DESCRIPTION Using stock jquery mobile options. The textarea auto-grow script does not auto-grow when it is: a) Inside a fieldset accordain AND b) Has content inside on page load. THE BROKEN CODE
DreamTeK
  • 32,537
  • 27
  • 112
  • 171
0
votes
2 answers

Jquery textarea growing with css style

I need to make auto growing textarea. This is what I have: http://jsfiddle.net/EkpVn/1/ CSS: #contact form textarea { display: block; margin: 16px 0 0 0; padding: 0; color: #084a94; font-family: 'Montserrat', sans-serif; font-size:…
baitas212123
  • 151
  • 1
  • 4
  • 14
0
votes
3 answers

SQL Server filegroup full during a large INSERT INTO statement

Consider a SQL script designed to copy rows from one table to another in a SQL 2000 database. The transfer involves 750,000 rows in a simple: INSERT INTO TableB([ColA],[ColB]....[ColG]) SELECT [ColA],[ColB]....[ColG] FROM TableA This is a long…
p.campbell
  • 98,673
  • 67
  • 256
  • 322
0
votes
1 answer

Jediitable, autocomplete and autogrow jquery not working

I am trying to use autocomplete and autogrow with the Jeditable jquery plugin and cannot seem to incorporate both. I currently have the Jeditable + autocomplete working perfectly. When I tr to add code for the autogrow it doesn't work and causes a…
Yecats
  • 1,715
  • 5
  • 26
  • 40
0
votes
1 answer

Prevent SQL Server IDENTITY grow on INSERT failure

I noticed that in SQL Server, when INSERT failure, the IDENTITY ID still grows. This is not a problem in MySQL here's the sample http://sqlfiddle.com/#!3/51b7d/8 How can I prevent that? Thanks
Bonn
  • 53
  • 1
  • 13
0
votes
1 answer

Textarea autogrow not working in Chrome

What I'm trying is to make Textarea autogrow when you enter text or paste some text in it. It is working fine with IE7, IE8 and IE9, Firefox. But, in OPERA, CHROME and SAFARI it is auto growing even I click functional keys/additional keys like…
Raju Sarvasiddi
  • 411
  • 1
  • 4
  • 7