CSS make sentence wrap code example
Example 1: how to wrap text in div css
.example {
overflow-wrap: break-word;
}
Example 2: css force string to wrap
<textarea style="width:100px; word-wrap:break-word;">
ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTC
</textarea>
<span style="width:100px; word-wrap:break-word; display:inline-block;">
ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTC
</span>
<tr style="overflow-wrap: anywhere"><td>1</td><td>2</td></tr>