I want a to completely fill an absolutely-sized parent container, with padding in the textarea. I have this working for Chrome using the follow
I have a solution where you can have 100% width and height with padding in the text area. I use negative margins to achieve the desired effect.
HTML:
CSS:
.container{
padding: 10px
border: 1px solid silver
}
.container .text{
resize: none;
outline: none;
width: 100%;
padding: 10px;
border: none;
height: 100%;
margin: -10px;
}
Tested this working on Google Chrome and Firefox