Below is the code I am using to generate a table containing an image along with a <textarea>
:
<table border="1" style="border-color: #a6a6a6" cellpadding="4" cellspacing="0" width="702">\
<col width="455">
<col width="230">\
<tbody>
<tr>\
<td type="image" id="' + sdfsdsdf + '" data-parent-id="0" data-type="NORMAL" data-img="1" data-flags="1" data-type-ios="3" height="85" width="455"><img src="http://www.whichcitytotravel.com/wp-content/uploads/2016/01/Sunset-in-Monaco.jpg" style="width:100%;"></td>\
<td width="230">
<pre><textarea id="' + sdfsdfsdaf + '" data-parent-id="' + id_picture + '" data-type="sdfsdafsd" data-type-ios="4" rows="5" style="width:100%; height:100%; display:block;"></textarea></pre><br></td>\
</tr>
</tbody>
</table>'
The output will appear as shown in this link: https://jsfiddle.net/705buxgz/
I intend for the <textarea>
to occupy all the available height within the cell of the table.
Despite trying various solutions provided here, none of them have proven effective for me.