Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 11:44:27
Original
1069 people have browsed it

list .ad_title {

     float : left ;

     overflow : hidden ;

     text-overflow : ellipsis ;

     white-space : nowrap ;

     width : 220px ;

}


效果如图:

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template