I have an html input.
The input has padding: 5px 10px; I want it to be 100% of the parent div\'s width(which is fluid).
padding: 5px 10px;
However using widt
widt
Assuming i'm in a container with 15px padding, this is what i always use for the inner part:
width:auto; right:15px; left:15px;
That will stretch the inner part to whatever width it should be less the 15px either side.