文字超出显示省略号,大家可以复制这段代码进行实验下
<html> <head> <style type="text/css"> #cs{width:100px;height:50px;line-height:50px;color:#6699ff;border:1px #ff8000 dashed;overflow:hidden;text-overflow:ellipsis} </style> </head> <body> <div id="cs"> <nobr>爱上你的微笑--文字超出显示省略号,大家可以复制这段代码进行实验下</nobr> </div> </body> </html>