固定宽度,超过了就用省略号

style="overflow:hidden;text-overflow:ellipsis"

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.