<div><a href="#">链接文字内容链接文字内容链接文字内容链接文字内容</a></div> div{width:40px;height:20px;overflow:hidden;text-overflow:ellipsis;white-space:norwap;}