I have a div/textarea field where I want to wrap the data on 50 characters without breaking the word
. The text contained in the element will be a path which can contain alphanum, spaces and slashes. I want it to be wrapped at spaces and slashes. Is this feasible with css only without requiring any js to perform this action
I have used
<textarea cols=50 style="border:none;font-family: Verdana, sans-serif; color: #333;">document vault/12345678901234567890123456789012345678901234567890/asdasd 22</textarea>
this should appear as(expected)
document vault/
12345678901234567890123456789012345678901234567890
/asdasd 22