css-Padding 10px with height 100%

StephaN

New Member
Here is what I want:[*]A textarea for typing;[*]This textarea's size can be changed(e.g. using splitter) and it need to be auto resized;[*]The words I typed will have a padding the the border of the textarea.Here is what I did;I set the textarea \[code\]width="100%" height="100%"\[/code\] so the textarea can become larger or smaller by the splitter. Then I set the padding to realize the padding between the words and the border. But I failed. I found some ways to set the padding with the textarea fixed, but it's not my case. I'm a fresh in this and anyone can help me?
 
Top