Destoon controls the title length. How does one control the full title length?

Source: Internet
Author: User

 
For example, how do I control the character length of the title after the question item is called? Can anyone help me solve this problem? Thank you.
 
& Amp; length = 30 
// 30 indicates 30 bytes


<! -- {Tag ("moduleid = 5 & length = 36 & condition = status = 3 and level> 0 and thumb <>'' & areaid = $ cityid & pagesize = ". $ dt ['page _ page']. "& Order = addtime DESC & width = 100 & Height = 100 & Cols = 5 & target = _ blank & lazy = $ lazy & template = thumb-table")} -->

Control title Length

Pass the length parameter in the label, for example, & length = 20 represents 20 characters length (GBK a Chinese character occupies 2 characters, UTF-8 a Chinese character occupies 3 characters ),

We recommend that you use CSS to hide extra characters (define height and overflow: hidden)

The length parameter is passed. The system only automatically intercepts the title field. To intercept other fields, use the dsubstr function.

For example, {dsubstr ($ t [Company], 20, '...')} indicates to intercept the company field with 20 characters. After intercept, append it...

Bytes --------------------------------------------------------------------------------------------------

 

Destoon controls the title length. How does one control the full title length?

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.