If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.
Post a reply to the thread: HTML textarea limiting size and overflow:hidden?
Click here to log in
What color is our footer?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
You may rate this thread from 1-star (Terrible) to 5-stars (Excellent) if you wish to do so.
HTML textarea limiting size and overflow:hidden? I'm having a problem with a textarea element which im trying to get to an A4 size. the dimensions are set in a surrounding DIV element (297mm,210mm) and the textarea inherits the dimensions correctly since it is nested. However even when i try overflow:hidden, or overflow-y:hidden in the textarea, it still allows more characters to be inputted, and a scroll bar appears. i want to limit the text to JUST the A4 size, no overflowing. What am i doing wrong? Here's the code: <div style='height:297mm; width:210mm; overflow:hidden;'> <textarea name='content' style='overflow-y:hidden; margin-left:10px; height:100%; width:100%;'></textarea> </div> Thank you for your help
HTML textarea limiting size and overflow:hidden?
Forum Rules