Home › Forums › CSS › can a textarea auto-fit within a div? › Re: can a textarea auto-fit within a div?
July 24, 2010 at 5:51 pm
#80329
Chris Coyier
Keymaster
The problem is likely that you’ve set the text area width to 100% and also added padding. You can try removing the padding, but that’s often not ideal. Is it common that the parent element of the text area changes in width? If not, skip the % width and set it statically.