I need to arrange two groups of text in adjacent columns. On the left I want a textarea that spanning the total height of the text. To its right I want at least three text areas that break the text on the left into smaller chunks. I don't have any trouble taking the full text and breaking it into small chunks. My question is about how to arrange the html/javascript/css. I tried a table structure for ease of putting the text side by side. Any suggestions welcome. Bonus for code that allows the textareas to resize after editing.
Here is some additional information: The text area needs to be arbitrary. The user will paste at least 3-4 paragraphs worth of text into the left text box. I'd want the left text box to size itself to show all the text while right side text boxes size themselves as the user makes edits. But I don't know beforehand how large the leftmost textarea will need to be.
Here is my initial attempt (I hope the fiddle work): http://jsfiddle.net/jank0003/uape4twk/
Here is the HTML:
<table>
<tr>
<th>RightCol</th>
<th>LeftCol</th>
</tr>
<tr>
<td><textarea id="initialText">Initial Text</textarea></td>
<td><textarea id="interText1">Intermediate Text 1</textarea></td>
</tr>
<tr>
<td></td>
<td><textarea id="interText2">Intermediate Text 2</textarea></td>
</tr>
<tr>
<td></td>
<td><textarea id="interText3">Intermediate Text 3</textarea></td>
</tr>
</table>