text-overflow break code example
Example 1: how to make text wrap on overfloe with 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>