In fact, just add a sentence to the table controlThere may be a word break in the English line: The solution is as follows:Grammar:Word-break:normal | Break-all | Keep-allParameters:Normal: Allow line wrapping in words according to Asian and non-Asian language text rulesBreak-all: The behavior is the same as in Asian languages. Also allows non-
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;}
Wo
Wrap characters in Divreprinted from: http://blog.sina.com.cn/s/blog_6a79bc480100tizi.html 1. Force not to wrap and end with ellipsis.Why don't you guys see the effect?2. CSS Auto-wrappingdiv{Word-wrap:break-word; word-break:normal;}3, CSS Force English word breakDiv{word-break:break-all;}If div nesting, to make the inner div according to the content of automatic line wrapping, you can only set the outer div width, and white-spance:nowrap can be.Syntax: word-break : normal | Break-all | Keep-all
we only need to add CSS style Word-wrap:break-word in the corresponding Div;Use Word-wrap:break-word to force a newline instance diagramNew line and non-newline knowledge supplementCSS settings do not change to CSS property tags:Overflow:hidden Hidden--css 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 the force Wrap CSS Properties tabWord-break:n
Word-break:break-all;The purpose of this statement is to allow the statement to wrap when it reaches the boundary, but it is this style that allows the punctuation to run to the beginning of the line.Grammar:Word-break:normal | Break-all | Keep-allParameters:Normal: Allow line wrapping in words according to Asian and non-Asian language text rulesBreak-all: The behavior is the same as in
propertyGrammar:Word-break:normal | Break-all | Keep-allParameters:Normal: Allow line wrapping in words according to 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 is appropriate for
propertyGrammar:Word-break:normal | Break-all | Keep-allParameters:Normal: Allow line wrapping in words according to 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 is appropriate for
CSS settings do not change rows:
Overflow: hidden hideWhite-space: normal defaultPre line breaks and other blank characters will be protectedNowrap forces all text to be displayed in the same row until the text ends or encounters a br object========================================================== ====
Set forced line feedWord-break:Normal. line breaks are allowed according to the text rules of the Asian and non-
the boundary. Break the word internally if needed
word-break
Sets or retrieves the word wrap behavior of text within an object
The Break-all attribute value should be used to resolve a long character break layout that prevents consecutive meaningless occurrences in the page;
Value:
Normal: Allows line wrapping in words according to the text rules in Asian and non-
; overflow:hidden; text-overflow:ellipsis; width:100px;} * Do not wrap, out of partially hidden and appear as ellipses */1. Word-break:break-all; only works in English, with the letter as the basis for line change2. Word-wrap:break-word; Only works in English, with words as the basis for line change3.{white-space:pre-wrap; only works on Chinese, force line break4.{white-space:nowrap; Force no line break, all work5.{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; not wrapped, partial
White-space: Property sets how to handle whitespace (whitespace, newline, and tab characters) within an element.
Normal defaults. Whitespace will be ignored by the browser.
The pre blank is reserved by the browser. It behaves like an HTML
Label.
Label.
Pre-wrap preserves the sequence of whitespace characters, but normally wraps the line.
Pre-line merges a sequence of whitespace characters, but preserves line breaks.
Inherit specify that the value of the White-space attribute should be inher
Soft writing has been a lot of webmaster most headaches, but write soft wen is webmaster do seo must learn one of the skills, so many stationmaster is this soft writing problem tortured by half dead. So what is the best way to write high-quality soft paper?
A few days ago to hear a saying that a good website structure should be "title to sexy, content to plump, the key parts to highlight, code to bone." In fact, a good soft article also must meet the
earlier rumors about Ali's music will have a new move in Yesterday To become a reality, every day and shrimp music together with Sina Weibo, Sina Entertainment, Youku Tudou launched the "Asian New song list", the purpose of this list is obviously to raise the industry influence of Ali Music, not likely next year's Day in an Asian music festival is also possible, the entertainment circle is good this mouthfu
happy to go to school every day, but occasionally wrestling. I don't know why, and the number of wrestling times is getting more and more frequent. Her mother accidentally found that Yad wrestling was not as simple as we saw, so she asked the doctor for the reason. After a full set of examinations for yya, the doctor told her
Pooled
Mrs. ------- the mother of yaye, yya also got the "spinal-cerebral variation disease", and this disease cannot be cured yet. The sudden bad news brought the
variable is a reference data type, the object's replication cannot be implemented.There is an object person with the following code:1 Public classPerson {2 PrivateString name;3 PrivateString sex;4 Private intAge ;5 6 PublicPerson (String name,string sex,intAge ) {7 This. Name =name;8 This. Sex =sex;9 This. Age =Age ;Ten } One A PublicPerson (person P) {//Copy construction methods, copying objects - This. Name =P.name; -
Every man has a car and a goddess in his heart.
Wedding photography is a very interesting buyer's market, and it can even be said to dominate the market. Pay attention to this word "dominating", not exclusive, is the bride said the count of dominating the market!!
Also because most of the bride is required style, so boys toys, often can only be reduced to corner painting circle. So, today to introduce, is the goddess to marry home people will like the big toys-car shoot.
Generally
You can add such a code in
Style = "word-wrap: break-word; word-break: break-all ;"
Be sure to set the width of td; otherwise, no.
Note:
Word-wrap: sets or retrieves whether to disconnect a line when the line goes beyond the boundary of the specified container.Valid value:Normal: default value. Allows the content to expand the specified container BoundaryBreak-word: the content will wrap in the boundary. If necessary, the line feed (word-break) will also occur.
Word-break: set or retrieve
We know that there is a very important attribute Word-break attribute in CSS3, so we will introduce the definition of word-break attribute, syntax, parameters and use Word-break to make a small case to help you understand.
1. Definition
The Word-break property specifies how the wrap is handled. Tip: By using the Word-break property, you can let your browser implement line breaks anywhere.
2. Syntax and parameters
Word-break:normal (default) |break-all|keep-all normal: According to the
] Syntax:
Word-break: normal | break-All | keep-all
Valid value:Normal: default value. Line feed allowed between wordsBreak-ALL: this behavior is the same as that of the Asian language normal. It also allows non-Asian text lines to be broken in any word. This value is applicable to Asian texts that contain non-Asian t
Chinese version XP cannot be installed
In Windows XP, Microsoft not only provides simplified and traditional Chinese character libraries, but also supports input methods. If you want to enable the English version of Windows XP to support Chinese, you can refer to the following settings (take the English version of Windows XP Professional as an example, Windows XP Home Edition settings are similar ).
1. Open Control Panel and double-click regional and language options to open the region and langu
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.