fatkatie Posted January 19, 2018 Share Posted January 19, 2018 Without using js, and while entering text in a textarea element, is there a way to break on white space when a word writes thru the last column allowed? This form does it. Quote Link to comment https://forums.phpfreaks.com/topic/306271-textarea-break-on-white-space-while-entering-text/ Share on other sites More sharing options...
Solution requinix Posted January 19, 2018 Solution Share Posted January 19, 2018 That's how they normally work... Quote Link to comment https://forums.phpfreaks.com/topic/306271-textarea-break-on-white-space-while-entering-text/#findComment-1555559 Share on other sites More sharing options...
fatkatie Posted January 19, 2018 Author Share Posted January 19, 2018 out of luck. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/306271-textarea-break-on-white-space-while-entering-text/#findComment-1555565 Share on other sites More sharing options...
requinix Posted January 20, 2018 Share Posted January 20, 2018 If your textarea isn't working like that now then it means you have some CSS applied to it that's changing the behavior. Remove the CSS, get the original behavior back. There are a few possible explanations but the cause is probably some combination of white-space or word-wrap or overflow. Quote Link to comment https://forums.phpfreaks.com/topic/306271-textarea-break-on-white-space-while-entering-text/#findComment-1555588 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.