When using Dreamweaver to create a web page, when creating a table, the internal text does not wrap automatically. What should I do? Two solutions are proposed below for your reference! If you know the trick here, you can skip it! If you don’t know, don’t say something so absolute that there are no tables on the web page anymore? In the era of Web standards, tables should not be completely abandoned in web pages! Haha.
There are two possibilities to solve the problem of automatic line wrapping of text in the table:
First, you use CSS to set the font of the text in the table to English font, so that the text in the table will not automatically wrap in Dreamweaver, but this Only the display effect in Dreamweaver can actually wrap normally in IE. If you want the text to automatically wrap in the editing state of Dreamweaver, just set the font of the text in the table to Chinese font (for example, "Songti").
Second, you enter a series of English or numbers without spaces in the form. They are recognized by IE as a complete word, so they will not wrap automatically. In this case, you can forcefully break up the text through CSS. , for example:
<td style="word-break:break-all">aaaaaaaaaaaa...aaaaaaaaaaaa</td>