I need to display a lengthy address in an input textbox in HTML. If the address contains more characters, I want to show the full text within the input box itself. Currently, the value is displayed correctly but not fully visible in the text box. How can I make the entire address show up in the input text box?
My code looks like this:
<tr>
<td class="tabth" style="border-bottom: 1px solid black;">Address</td>
<td class="tabtd" style="border-bottom: 1px solid black;">
<input type="text" style="height:50px; overflow: auto;" name="address" value="502, Venus Atlantis, Nr. Shell Petrol Pump, Anandnahar-Prahladnagar Road, Ahmedabad,Gujarat, India............kkkkkkkkkkkkkk...........">
</td>
<td>
<button type="submit" name="export" value="reg" class="btn btn-success pd">Save</button>
</td>
</tr>