<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style>
div{
white-space: nowrap;
text-overflow:ellipsis;
text-overflow: ellipsis;
overflow:hidden;
}
</style>
</head>
<body>
<div style=" width:100px; border:solid 1px red;">
文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本文本
</div>
</body>
</html>