Do ArticleHow to make long articles wrap automatically in the system
This problem has been mentioned by many people. According to the solution on the Internet, the English words are broken up with new lines.
For most online articles, you only need to add the following content to CSS:
Table {
Table-layout: fixed;
Word-break: Break-all;
Word-wrap: Break-word;
}
Div {
Word-break: Break-all;
Word-wrap: Break-word;
}
We can solve the problem of broken tables and layers. At first, I did the same. HoweverCodeIt may cause a problem. You will find that all the English words are truncated, which is not in line with the English writing habits and is not conducive to reading.
Later, I found that the above Code can be rewritten to prevent both table/layer cracking and word breaking.
As follows:
Table {
Table-layout: fixed;
Word-wrap: Break-word;
}
Div {
Word-wrap: Break-word;
}