<div style="width:100px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">bbbbbbbbbbbaaa888899999aaaaa</div> 来源: http://hi.baidu.com/ahwyb/blog/item/7bf7d445ed65043b86947382.html