Word-break: normal | break-All | keep-allParameters:Normal: line breaks are allowed according to the text rules of the Asian and non-Asian languages.Break-ALL: this behavior is the same as that of the Asian language normal. It also allows non-Asian
---restore content starts---An analysis of WORD-BREAK|OVERFLOW-WRAP|WORD-WRAP--CSS English segmentationToday in learning overflow properties again, when viewing the effect, see the following results, content in the Div China, but the content of the
Source: http://homepage.yesky.com/207/7707707.shtml
This article lists line breaks compatible with IE and ff.CSSRecommended style, detailed introductionWord-wrapSameWord-break.Compatible with wrap CSS recommended styles for IE and FF
The best
CSS newlines: word-wrap & amp; word-break & amp; white-space & amp; word-spacing
Word-wrap:
First of all, the CSS attribute word-wrap has been renamed as overflow-wrap in CSS3, so the semantics is also made to avoid confusion with word-break;
What are these two things? I believe there are still many people who don't know how to write a word-wrap: break-word; word-break: break-all; such a sentence is forced to be disconnected, or because these two things are too talkative and have a
Word-wrap:First of all, Word-wrap this CSS property in CSS3 has been renamed to Overflow-wrap, so semantic is also to avoid confusion with word-break;
Reference:
The property was overflow used to specify whether or not the
Text wrap: word-wrap, word-break, and white-space,
Synchronize this article to public number: http://mp.weixin.qq.com/s? _ Biz = MzAxMzgwNDU3Mg ==& mid = 401671055 & idx = 1 & sn = b88c986e61708da0027fac035ad36f0f # rd
If you are interested in
first, Word-wrap use:Grammar: Break-wordvalue Description:1, Normal is the default value, when its value for the normal control of continuous text wrapping (allow the content to open the boundaries of the container, in other words, the content can
Content Summary: This article enumerated the compatible IE and FF the line-wrapping CSS recommendation style, introduced in detail the word-wrap and the word-break difference.
Line break CSS recommended style for IE and FF
The best way is
CSS force HTML does not wrap CSS Force English word line breaking Force no line breakDiv { white-space:nowrapWrap LineDiv { word-wrap: break-word; word-break: normal; }Force English words to breakDiv { word-break:break-all;}CSS settings do not
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.