Word-wrap_css/html

Source: Internet
Author: User
Word-wrap: Normal| Break-word

Parameters:

Normal:Allow content to top open specified container boundaries
Break-word:Content will be wrapped within the boundary. Word Wrapping (Word-break) also occurs if needed

Description:

Sets or retrieves whether a career change is broken when the current row exceeds the bounds of the specified container.
The corresponding script attribute is WordWrap。 Please refer to the other bibliography I have written.

Example:

div {Word-wrap:break-word;}

Word-break: Normal | Break-all | Keep-all

Parameters:

Normal: allow line wrapping in words according to Asian and non-Asian language text rules
Break-all: The behavior is the same as in Asian languages. Also allows non-Asian-language text lines to be broken within any word. This value is appropriate for Asian text that contains some non-Asian text
Keep-all: same as normal for all non-Asian languages. For Chinese, Korean, Japanese, word break is not allowed. Suitable for non-Asian texts containing small amounts of Asian text

Description

Sets or retrieves the word wrapping behavior of text within an object. Especially when multiple languages are present.
For Chinese, break-all should be used.
The corresponding script attribute is wordbreak. Please refer to the other bibliography I have written.

Example:

div {word-break:break-all;}

  • Related Article

    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.