How can I get my input box positioned evenly inside my fieldset element at 100% width with respect to my fieldset?
As it stands now, it seems the input box is overflowing on the right out of the fieldset and im not sure why?
Here's an image of the problem (ie10):
Here is the markup:
fieldset {
padding: 3px;
width: 300px
}
label {
float: left;
font-weight: bold;
}
input {
width: 100%;
}
<fieldset>
<legend>Subscription info</legend>
<input type="text" name="name" id="name" />
</fieldset>