javascript - HTML TextArea Break Error -


in site im inserting long length text without space in text area , view view text inside <p> or <div> tag.but text dosn't break shows inline.how can view text proper spacing.

this code view textarea

.text_in_status p {    color: #333;    font-size: 1.1em;    font-weight: 400;      display: block;          }
<div classname="text_in_status clearfix">                  <p >{this.props.post.text}</p>                </div>

enter image description here

<style> .text_in_status p {   color: #333;   font-size: 1.1em;   font-weight: 400;   display: block;   word-wrap:break-word; } </style> <div classname="text_in_status clearfix">     <p >{this.props.post.text}</p> </div> 

Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -