截取字符串长度(css方式)
只针对谷歌
width: 100%;
//height: 58px;
overflow:hidden;
text-overflow:ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
//三行
-webkit-line-clamp: 3;
截取字符串一行
font-size: 14px;
font-family: "微软雅黑";
line-height: 22px;
margin-top: 5px;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
text-overflow: ellipsis;/* IE/Safari */
-ms-text-overflow: ellipsis;
-o-text-overflow: ellipsis;/* Opera */
-moz-binding: url("ellipsis.xml#ellipsis");/*FireFox*/