Textarea to fit text CSS forum at WebmasterWorld homepage
Welcome to WebmasterWorld Guest from Pubcon Website Forum
Library : Charter : Moderators: DrDoc  CSS Forum  Textarea to
fit text   5:18 pm on Aug 2, 2007 (gmt 0)  How can I style a
textarea so it expands to fit the amount of text in it? I tried
height: auto and overflow: auto, but it will not fit the size of
the text. Does anybody know what I should try?     5:47 pm on
Aug 2, 2007 (gmt 0)  By textarea you mean a text input element,
like the one I'm writing in now, right? (not what you see when
you see my posts, but something the editor sees when they
edit/make their own posts)  Nothing ever expands to the width of
the text in it. In html, just like new lines and page breaks in
text documents, text is designed to be the one to accomodate to
everything else. Usually the length of text is huge, and it
would be absolutely ridiculous to automatically adjust length,
because it would keep growing and growing, until you hit the
longest paragraph the person mad