The following are turned around, but only to complement its official shortcomings, in fact, it does not talk about the function of the disaster, hehe, keep the first
1, in the article list, some of the title has been truncated, how to use the point end?
What code allows the mouse to display the full file name at the top?
{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 in front of the article column?
{dede:arclist row=10 orderby=pubdate}
· [field:typelink/] [field:textlink/]
{/dede:arclist}
3. Use CSS to truncate long headings and add ellipses
We recommend that you use this to set.
Feel how much it is related to how fast the root tag is generated. So you can use CSS without parsing as far as possible with CSS Bar ~
Overflow:hidden; text-overflow:ellipsis;white-space:nowrap;width:100%;width:100%;
The container must be set to a width. Otherwise it will not achieve the effect OH.
The above describes the Dedecms image template collection of Dedecms some experience, including the Dedecms picture template aspects of the content, I hope that the PHP tutorial interested in a friend helpful.