I’m quite new to HTML and I’m developing a platform using Apps Script, this platform is used to analyse certain attributes of some users, accessed through a window which contains all info regarding that user, imported via Google Sheets that I use as a database.
The thing is, I have this ‘description’ like area that can be quite long regarding character number, so I’m using it like a textarea, since it can be used to break lines, but as I increase its width other ‘blank’ areas over it are increased as well, is there a way that I can make it like an independent area? I mean, to not alter other elements attributes?
Here is the code:
<tr>
<td class="modal-table-label" style="width:100px"><label for="description" style="width:100px">Desc. Regra</label></td>
</tr>
<tr>
<td>
<div>
<textarea name="description" id="description_form" value="" class="info-input-sm" style="width:350px;" rows="5" cols="500" ></textarea>
</div>
</td>
</tr>
And here is an image showing my problem:
Thank you in advance!
2
Answers
What you’re going to want to do, is seperate your "Description" title aswell as your textarea from the rest of your items. Their are many ways of doing this, I suggest you put them each inside a seperate , since they are 2 independant sections.
You can set a table cell to span multiple columns using the
colspan
attribute.