The following are all transferred over, just to make up for its official shortcomings. In fact, its functions have not been mentioned. Haha, keep it first
1. In the article list, some titles have been truncated. , how can I use a dot at the end?
What kind of code can be used to display the complete file name when the mouse is on it?
{dede:arclist row=16 orderby=pubdate col=1 typeid =3}
· [field:title function="cn_substr('@me', 30)" /] {/dede:arclist}
2. How to display the article column in front of the article name?
{dede:arclist row=10 orderby=pubdate}
·[field:typelink/] [field:textlink/]
{/dede:arclist}
3. Use CSS to truncate overly long titles and add ellipsis
It is recommended that you use this setting.
I feel that the generation speed of the root tag has something to do with it. So if you can use css without parsing, try to use css~
overflow:hidden; text-overflow:ellipsis;white-space:nowrap;width:100%;width:100%;
The container must have a width set. Otherwise, the effect cannot be achieved.
http://www.bkjia.com/PHPjc/318141.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318141.htmlTechArticleThe following are all transferred over, just to make up for its official shortcomings. In fact, its actual functions are not discussed. Yes, haha, keep it first. 1. In the article list, some titles are truncated. How can I...