title: html textarea injecting line breaks
body: <p>I've got a weird problem. </p>
  
  <p>I have an html textarea, with the cols set to 84, like so:</p>
  
  <pre><code>&lt;textarea id="caseNote_note0" class="txtArea" name="caseNote_note" style="line-height: 1.1em; height: 5em;" wrap="hard" rows="10" cols="84" tabindex="7"&gt;blah blah blah&lt;/textarea&gt;
  </code></pre>
  
  <p>The <code>txtArea</code> class is defined as:</p>
  
  <pre><code>.txtArea {
              font-family:arial,sans-serif;
              font-size:1.0em;
              width:99%;
              rows:10;
              overflow:hidden;
              border:none;
              font-family:arial,sans-serif;
              margin: 0px 3px 0px 3px;
          }
  </code></pre>
  
  <p>The textarea is stretched across almost the whole screen.</p>
  
  <p>When the user types in data, the data all appears in the textarea as you would expect.</p>
  
  <p>However, when you submit the form, the text looks like its been saved with line breaks injected into it.</p>
  
  <p>i.e.</p>
  
  <p><strong>before the save</strong>:</p>
  
  <p><em>-------------------------------------------------------------------------------</em></p>
  
  <p>blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah</p>
  
  <p>blah blah blah blah blah blah blah blah blah blah blah blah</p>
  
  <p><em>-------------------------------------------------------------------------------</em></p>
  
  <p><strong>after the save</strong>:
  <em>-------------------------------------------------------------------------------</em></p>
  
  <p>blah blah blah blah blah</p>
  
  <p>blah blah blah blah blah</p>
  
  <p>blah blah blah blah blah</p>
  
  <p>blah blah blah blah blah</p>
  
  <p>blah blah blah blah blah</p>
  
  <p>blah blah blah blah blah</p>
  
  <p><em>-------------------------------------------------------------------------------</em></p>
  
  <p>If I change the <code>cols</code> to be greater than 84 (say 150), the linebreaks appear later (i.e. more text shows before a line break seems to get enetered).</p>
  
  <p>The text is also being saved in the database table with these apparent mystery line breaks.</p>
  
  <p>A wordaround is to set the <code>cols</code> to something really high (like 500), then I guess I wouldn't run into this problem....but I'd rather know <em>why</em> this is happening in the first place.</p>
  
  <p>Any help is appreciated!</p>
  
  <p>Cheers</p>
  
  <p>Jarrett</p>