<html>
<title>css控制字数</title>
<head>
<style type="text/css">
.dd
{
border: solid 1px gray;
width:130px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
course:hand;
}
</style>
</head>
<body>
<span class="dd">
css控制字数css控制字数css控制字数css控制字数css控制字数css控制字数
</span>
<br>
<div class="dd">
css控制字数css控制字数css控制字数css控制字数css控制字数css控制字数
</div>
</body>
</html>

相关文章:

  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
  • 2021-12-01
  • 2021-08-29
猜你喜欢
  • 2021-10-25
  • 2022-12-23
  • 2021-10-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2021-06-18
相关资源
相似解决方案