LI中内容超过长度后以省略号显示的方法
此方法适用与IE与OP浏览器
<style type="text/css"> <!-- li { width:200px; white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden; } --> </style>本文链接:https://www.dnwfb.com/1028.html,转载请注明出处。
LI中内容超过长度后以省略号显示的方法
此方法适用与IE与OP浏览器
<style type="text/css"> <!-- li { width:200px; white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow: hidden; } --> </style>本文链接:https://www.dnwfb.com/1028.html,转载请注明出处。
评论0