Tips for wrapping text automatically when you use Dreamweaver to make pages

Source: Internet
Author: User
Tags dreamweaver

When you use Dreamweaver to make a Web page, when you encounter making a table, the internal text does not automatically wrap, what should I do? Here are two solutions, we can refer to! If you know the trick here, you can skip it! If you don't know, don't say anything now there is no form in the Web page. Is that absolutely true? Web Standard times Web pages should not be able to completely discard the form! Oh.

There are two possible ways to resolve the automatic wrapping of text in a table:

First, you use CSS to set the font of the text in the table into English fonts, so that the text in the Dreamweaver form will not automatically wrap, but this is only the Dreamweaver in the display effect, in IE in fact can be normal line. If you want to make text wrap in the Dreamweaver edit state, set the font for the text in the table to the Chinese font (for example, "XXFarEastFont-Arial").

The second, you entered in the form of a series of no space in English or numbers, they are recognized as a complete word ie, so will not automatically wrap, in this case, you can use CSS to break the text, such as:

<TD style= "Word-break:break-all" >aaaaaaaaaaaa...aaaaaaaaaaaa</td>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.