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>
<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
Post a Comment