There is a form input enclosed within a div which is nested inside a table cell.
<td align="left" id="subformAttachments_Htmltable1td10" style="border:solid 1px black;width:316px;" class="tbldroppable ui-droppable formMenu ui-resizable">
<div itemtype="text" id="subformAttachments_divtextDescription_1" ismobilectl="true" style="display: inline-block; position: static; height: 36px; left: 0px; top: 0px; margin: 5px; z-index: 0; width: 100%;" class="input-large ui-draggable ui-draggable-handle formMenu ui-resizable" datatype="text" format="">
<input type="text" id="subformAttachments_textDescription_1" placeholder="" name="subformAttachments_textDescription_1" class="" value="" style="width:100%;height:100%" autocomplete="off">
</div>
</td>
However, the text box is extending beyond the boundaries of the table cell to the right.
https://i.sstatic.net/tdTn3.png
Is there a way to adjust the styling so that the text box fits perfectly within the table cell, centered both vertically and horizontally? The modification should only involve editing existing styles without adding or removing any elements.
This particular page makes use of jQuery and Bootstrap.