CSS automatic line feed, force line break, force line break, excessive display ellipsis
P labels are automatically wrapped by default. Therefore, setting the width can achieve better results. However, recently, after loading data using ajax, the
Word-break: normal | break-All | keep-allParameters:Normal: line breaks are allowed according to the text rules of the Asian and non-Asian languages.Break-ALL: this behavior is the same as that of the Asian language normal. It also allows non-Asian
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
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:
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;}Word-wrap:The Word-wrap property of CSS is used to indicate whether a
At the beginning of the concept is only a little vague, not too concerned about, the results of a search only found that this thing is too interesting, not only has an interesting story, but also has a lot of doorways, but also brought up some of
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
For example, how many records are available to include such data in the database:file nameSize""Query directly using SQL statements:SELECT Count (*) from driver_lookup_com.contentWhere Introtext like '%"+"file namewidth=" ">size % ';Results no data
What are these two things? I believe there are still many people who don't know how to write a word-wrap: break-word; word-break: break-all; such a sentence is forced to be disconnected, or because these two things are too talkative and have a
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
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.