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 cold wind is like a knife, and the Earth is used as a chopping board, and all beings are regarded as fish.
Wan Li feixue, the sky as a torch, dissolve everything for silver.
Snow will live, the wind is not fixed, a carriage from the north, rolling wheel crushed the ice and snow on the ground, but not crushed the loneliness between the sky and the ground.
Li xunhuan yawned and stretched his legs on the soft mink as far as possible. Although the car box was warm and comfortable, this trip was
In this knowledge exchange platform for most of the night with a long description of shaking their emotions is simply a waste of the life of the answer, thank you to answer the friends, anger Delete! The problem is described as follows:
Title!
Reply content:I recommend C + + for a single look at the problem.
Forgive me for skipping the lengthy description of the problem, and I hope it has nothing to do with the problem. What you lack is not an answer to what language to learn, what you lack is
Walking left to rightI would like to dedicate this book to those destined to meet
They live in the same apartment building in the suburbs of the city.
Every time she goes out, wherever she goes, she always habitually walks to the left,
He always habitually goes to the right.
They never met
A city like a maze is always inexplicably lonely.
You never know what you will miss. Various coincidence and missed pursuits,
Weaving melancholy and softness in the
The lyrics here are generally LRC format, there is time, if you want to use as text without time, the text inside the time period will become a disturbance barrier.Here is the LRC lyrics of a song
Copy Code code as follows:
[TI: Heard]
[AR: Liu]
[Al: My Failure and greatness]
[By: Live in the present]
[00:01.22] Liu-heard
[00:03.79] Album name: Heard?
[00:06.73] Lyrics: Gedavey composer: Lin Jianhua
[00:09.74]
[00:10.79]LRC production: Bushu qq:6313827
[00:25.13]
[00:27.08]
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 way is
The following is a reference clip:Word-wrap: Break-word; overflow: hidden;
Instead
The following is a reference clip:Word-wrap: Break-word; Word-break: Break-all;
Neither
The
The best way isWord-wrap: break-word; overflow: hidden;InsteadWord-wrap: break-word; word-break: break-all;NeitherWord-wrap: break-word; overflow: auto;
There is no problem in IE. In FF, long strings of English will be overwritten.
Differences between word-wrap and word-break
Word-wrap:Normal Default. Content exceeds the boundaries of its container.Break-word Content wraps to next line, and a word-break occurs when necessary. If necessary, the word-break is triggered.
Word-break:Normal Default.
the primary key)
country)
Population
China
600
USA
100
Canada
100
UK
200
France
300
Japan
250
Germany
200
Mexico
50
India
250
The population of Asia and North America is counted based on the population data of this country. The following result is returned.
Continent
Popul
quite uncomfortable. Half of us sympathized with Australia, which entered the World Cup finals for the first time in 32 years. Most of us felt that Australia had played quite well, and it was unfair to lose the ball. In the past, I was absolutely neutral, and the prediction of the game also ended in a draw. However, this ball left me unhesitant to stand on the Australian side. I am eager to see him reverse the scene, it makes the Japanese delicious.
This is only a game. What I want to talk a
The final solution for long English line breaks: Add style = "word-wrap: Break-word; Table-layout: fixed; Word-break: Break-all" to the table label" If you can, you don't have to look down. Differences between word-wrap and word-break Word-wrap:Normal default. content exceeds the boundaries of its container.Break-word content wraps to next line, and a word-break occurs when necessary. If necessary, the word-break is triggered. Word-break:Normal default. Allows line breaking within words. It
The following is a reference fragment:Word-wrap:break-word; Overflow:hidden;
Instead of
The following is a reference fragment:Word-wrap:break-word; Word-break:break-all;
It's not
The following is a reference fragment:Word-wrap:break-word; Overflow:auto;
There is no problem in IE, under FF, long strings of English will be obscured beyond the content.The difference between Word-wrap and Word-breakWord-wrap:Normal Default. Content exc
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.