Force No Line break div{
White-space:nowrap;
}
Wrap Line
div{Word-wrap:break-word;Word-break:normal;}
Force English words to break
div{Word-break:break-all;}
CSS settings do not change careers:
Overflow:hidden HiddenWhite-space:normal DefaultPre line breaks and other whitespace characters are protectedNoWrap force all text to be displayed in the same line until the text ends or encounters a BR objectTo set a forced line break:Word-break:normal; Allows word wrapping in words in
the same line until the text ends or encounters a BR objectTo set a forced line break:Word-break:normal; Allows word wrapping in words in Asian and non-Asian language text rulesBreak-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
Force do not wrap div{white-space:nowrap; automatic line wrapping div{word-wrap:break-word; woForce No Line wrappingdiv{White-space:nowrap;}Wrap Linediv{Word-wrap:break-word;Word-break:normal;}Force word breaking in Englishdiv{Word-break:break-all;}
CSS settings do not change careers:
Overflow:hidden HideWhite-space:normal DefaultPRe newline and other whitespace characters will be protectedNoWrap forces all text to be displayed in the same line until the text ends or the BR object is encounter
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 change careers:Overflow:hidden HiddenWhite-space:normal DefaultPre line breaks and other whitespace characters are protectedNoWrap force all text to be displayed in the same line until the text ends or encounters a BR objectTo set a forced line break:Word-
Force No Line breakdiv{White-space:nowrap;}Wrap Linediv{Word-wrap:break-word;Word-break:normal;}Force English words to breakdiv{Word-break:break-all;}============================================CSS settings do not change careers:Overflow:hidden HiddenWhite-space:normal DefaultPre line breaks and other whitespace characters are protectedNoWrap force all text to be displayed in the same line until the text ends or encounters a BR objectSet forced line breaksWord-break:normal; Allows word wrapping
Ma JianEmail:[email protected]Published: 2012.07.02Update:2012.07.09Supplemental non-Simplified Chinese version contentSince the release of Modi-based Djvutoy, Freepic2pdf, and Pdg2pic, many people are asking the same question: Can you not install Office 2003/2007 or SharePoint Designer 2007, Let Modi-based software normal OCR? After all, for Simplified Chinese, even if you install only Modi in SharePoint Designer 2007, nearly 650 MB, the office 2007 Modi is more exaggerated and nearly 1 GB.To s
(conguatulation.2. word-wrap: the break-word example is the same as above, but the difference is that it regards the entire word congratulation as a whole. If the end width of the row is insufficient, it automatically puts the entire word in the next line, instead of truncating the word.3. word-break; break-all supports version: IE5 or above, which is the same as normal in the Asian language. It also allows non-A
word.
② supported versionWord-break;break-all supported version: IE5 The behavior is the same as the normal for 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.Word-wrap:break-word Support version: IE5.5
both Word-break:break-all and Word-wrap:break-word are able to wrap the contents of their containers, such as Div. the difference between them is:1,word-break:break-all such as a div width of 200px, its content will go to 200px word wrap, if the end of the line has a long English words (congratulation, etc.), it will truncate the word, to the end of the line is Conra ( Congratulation), the backend portion of the next behavior tulation (conguatulation). 2,word-wrap:break-word example is the same
1,word-break:break-all For example div width 200px, its content will go to 200px automatically wrap, if the line end has an English word very long (congratulation, etc.), it will truncate the word, into the line end of Conra ( Congratulation the front end part of the next behavior tulation (conguatulation) the back end part.
The 2,word-wrap:break-word example is the same as the above, but the difference is that it congratulation the whole word as a whole, and if the end of the line is not wide
Cssword-break: break-all and word-wrap: break-word can automatically wrap the content of a container such as DIV. However, there is a difference between the two. This article introduces the difference between css automatic line feed word-break: break-all and word-wrap: break-word to the coders.
1. word-break: break-all, for example, if the width of p is PX, its content will wrap to PX automatically. If the end of the line has a long English word (such as congratulation ), it truncates the word a
the word.
3. Word-break; break-all supports version: ie5 or above, which is the same as normal in the Asian language. It also allows non-Asian text lines to be broken in any word. This value is suitable for Asian texts that contain non-Asian texts. Word-wrap: Break-word supported version: ie5.5 and above will be wrapp
end width is not enough to display the whole word, it will automatically put the whole word to the next line, not the word truncated.3,word-break:break-all supported version: IE5 The behavior is the same as the normal for Asian languages. Also allows non-Asian-language text lines to be broken within any word. This value is appropriate for Asian text that contain
the word.
3. Word-break; break-all supports version: ie5 or above, which is the same as normal in the Asian language. It also allows non-Asian text lines to be broken in any word. This value is suitable for Asian texts that contain non-Asian texts. Word-wrap: Break-word supported version: ie5.5 and above will be wrapp
, if the line end width is not enough to display the whole word, it will automatically put the whole word to the next line, not the word truncated. 3,word-break:break-all supported version: IE5 The behavior is the same as the normal for Asian languages. Also allows non-Asian-language text lines to be broken within any word. This value is appropriate for Asian tex
automatically put the whole word to the next line, Instead of truncating the word. 3,word-break:break-all supported version: IE5 The behavior is the same as the normal for 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-A
the word.
3. Word-break; break-all supports version: ie5 or above, which is the same as normal in the Asian language. It also allows non-Asian text lines to be broken in any word. This value is suitable for Asian texts that contain non-Asian texts.
Word-wrap: Break-word supported version: ie5.5 and above will be wrapp
truncating the word.
3. Word-break; break-all supports version: ie5 or above, which is the same as normal in the Asian language. It also allows non-Asian text lines to be broken in any word. This value is suitable for Asian texts that contain non-Asian texts. Word-wrap: Break-word supported version: ie5.5 and above wi
Automatic line feed in DIV and automatic line feed in DIVWord-break: break-all and word-wrap: break-word can automatically wrap the content of a container such as DIV.Their differences are:1. word-break: break-all: for example, if the div width is PX, its content will be automatically wrapped in PX. If the end of the line has a long English word (congratulation, etc ), it truncates the word and converts it to the backend part of the row whose end is conra (congratulation) and the next row is tul
Word-break: Break-all and word-wrap: Break-word can automatically wrap the content of a container such as Div.
Their differences are:
1. Word-break: Break-ALL: for example, if the DIV width is PX, its content will be automatically wrapped in PX. If the end of the line has a long English word (congratulation, etc ), it truncates the word and converts it to the backend part of the row whose end is CONRA (congratulation) and the next row is tulation (conguatulation.
2. Word-wrap: the break-word ex
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.