采用CSS3属性:
text-overflow: ellipsis;实现
p{
/*width:100px;*/
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
采用CSS3属性:
text-overflow: ellipsis;实现
p{
/*width:100px;*/
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}