All of my code is here in this JSFiddle - http://jsfiddle.net/ugngp7ft/1/
HTML:
<div class="text_container_border">
<div class="row">
<label class="input_label">#1 Name and Phone Number:</label>
<span class="input_span">
<input type="text" class="hidden_textfield" value=""/>
</span>
</div>
<div class="row">
<label class="input_label">#2 Name and Phone Number:</label>
<span class="input_span">
<input type="text" class="hidden_textfield" value=""/>
</span>
</div>
<div class="row">
<label class="input_label">#3 Name and Phone Number:</label>
<span class="input_span">
<input type="text" class="hidden_textfield" value=""/>
</span>
</div>
<div class="row">
<label class="input_label">#4 Name and Phone Number:</label>
<span class="input_span">
<input type="text" class="hidden_textfield" value=""/>
</span>
</div>
</div>
CSS:
.row {
display: table-row;
}
.input_label {
display: table-cell;
margin: 0px;
padding: 0px;
}
.input_span {
display: table-cell;
width: 100%;
padding: 0px 10px;
}
.hidden_textfield {
width: 100%;
border: none;
outline: none;
background-color: transparent;
font-family: inherit;
font-size: inherit;
}
.text_container_border {
display: table;
width: 100%;
border: 1px solid #b2b2b2;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 10px;
padding-right: 10px;
}
.notes {
border: 1px solid #b2b2b2;
height:80px;
width: 100%;
overflow: auto;
resize: none;
}
It works perfectly there. I got the idea from an answer of a previous question who pointed me to a post on how to get text-boxes to take the extra width after a label in a parent DIV tag. The article is at - How to make text input box to occupy all the remaining width within parent block?
Anyways, I had to implement a new little piece in order to get my exact code to work, that being the "row" part of the table.
Everything works perfectly in that JSFiddle, but when implemented on a blank test page in my server, the text-boxes are not resized.