*, I often encounter that the content of the label is exceeded, and it is obviously inappropriate to use the character length, so I thought of css to deal with it
.showbypoint { width: 450px;//Length must be limited display:inline-block;//If you want to take effect, you must have block, if you want to be on the same line as other elements, you must have inline overflow:hidden;//The excess part is hidden word-break:keep-all;//Word integrity white-space:nowrap;//Do not wrap text-overflow:ellipsis;//The excess part is displayed with ellipsis }
-------------------------------------------------- -----Pit I have climbed --------------------------------------- --------------------
*. Using block elements such as DIV in the A tag will make you want to cry in IE7 standard mode, haha, if you want to see it, try it.