Home > Web Front-end > CSS Tutorial > word-wrap_CSS/HTML

word-wrap_CSS/HTML

WBOY
Release: 2016-05-16 12:12:38
Original
1906 people have browsed it

word-wrap : normal | break-word

Parameters:

normal : Allows content to break the specified container boundaries
break-word : Content will break within the boundaries. If necessary, intra-word line breaks (word-break) can also occur

Description:

Set or retrieve when the current line exceeds the specified container Whether to disconnect and change careers at the border. The corresponding script feature of
is wordWrap. Please see other books I have written.

Example:

div { word-wrap: break-word; }

word-break : normal | break-all | keep-all

Parameters:

normal : In accordance with the text rules of Asian and non-Asian languages, line breaks within words are allowed
break-all : This behavior is the same as normal for Asian languages. Breaks within any word of a line of non-Asian language text are also allowed. This value is suitable for Asian text that contains some non-Asian text
keep-all : Same as normal for all non-Asian languages. For Chinese, Korean, and Japanese, word breaks are not allowed. Suitable for non-Asian text that contains a small amount of Asian text

Description:

Sets or retrieves the intra-word wrapping behavior for text within an object. Especially when multiple languages ​​appear.
For Chinese, break-all should be used. The corresponding script feature for
is wordBreak. Please see other books I have written.

Example:

div {word-break : break-all; }

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template