The principle is basically this, if the incoming is a string, then let them become an element node, but this element node can also have many layers, in the most inner layer of the elements to be wrapped in. There are several ways to turn a string
What exactly are Word-wrap and word-break? Why do you have to repeat this problem? Is the question a problem?
We often need to "fix" a cliché "bug", which is the text of the automatic line wrapping problem. In professional terms, this expected
Source from
We often need to "fix" a cliché "bug", which is the text of the automatic line wrapping problem. In professional terms, this expected rendering is called "word wrap", which means that the text processor is capable of automatically
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
"note" Wrap (): Adds the specified HTML structure to the outside of each matching Element.Wrapall (): adds a specified HTML structure for all matching elements (as a whole) outside原文地址:http://www.365mini.com/page/jquery-wrap.htmwrap()The function is
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
---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
Today the project encountered a problem, a long string of strings such as: 003403ff0014e54016030cc655bc3242, but such as: Yuhua District, Shijiazhuang City, Hebei Province, China Huai an road Masakiyo street intersection so you can change line.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
P tags are automatically wrapped by default, so after setting the width, it is better to achieve the effect, but the recent project found that after using AJAX loading data, the contents of the P tag is not wrapped, resulting in a layout confusion,
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.