Home  >  Article  >  Web Front-end  >  css intercepts the string, if the title is too long, use _html/css_WEB-ITnose instead

css intercepts the string, if the title is too long, use _html/css_WEB-ITnose instead

WBOY
WBOYOriginal
2016-06-24 11:44:271054browse

list .ad_title {

     float : left ;

     overflow : hidden ;

     text-overflow : ellipsis ;

     white-space : nowrap ;

     width : 220px ;

}


效果如图:

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn