text wrap code example
Example 1: css wordwrap
.ow {
overflow-wrap: break-word;
word-wrap: break-word;
hyphens: auto;
white-space: normal; //this is the one that gets you all the time
}
Example 2: how to wrap text in div css
.example {
overflow-wrap: break-word;
}
Example 3: text overflow break line
white-space: break-spaces;
Example 4: css p tag text wrap
p {
/* That create a ne line, when he word is to long*/
word-break: break-all
}
Example 5: 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>