<textarea> padding or margins?
Posted: Fri Jan 30, 2009 4:38 pm
I am trying to add some padding inside the <textarea> however no matter which I use (margin | padding) the scrollbars are pushed off screen by equal amounts.
What is the CSS trick to accomplish this, so that the text is not flush against the sides of the control?
I cannot embed the textarea inside a DIV so this all needs to be done within the styles of the textarea control itself.
p.s-The width is set to 100% so I'm not sure if that changes things.
Cheers,
Alex
What is the CSS trick to accomplish this, so that the text is not flush against the sides of the control?
I cannot embed the textarea inside a DIV so this all needs to be done within the styles of the textarea control itself.
p.s-The width is set to 100% so I'm not sure if that changes things.
Cheers,
Alex