I'm working on a CSS/HTML project and I have a problem with the borders of the text fields. In the browser, the borders are shorter than the text fields.
I tried changing the size of the border to fit the text field and it worked but I tried opening the browser (IE) on a bigger screen and I faced the same problem again.
Here is my code:
<tr>
<td>First Name</td>
<td>
<div style="border:4px #26a570 solid;
background-color:white;
width:37.5%;
height:15%">
<input type="text" name="txtFirst" id="txtFirst" />
</div>
</td>
</tr>
I want the border to scale to the size of the text box in all the browser and screens.