在input中实现点点点与当鼠标移上去时显示剩余的字

参考文档:http://www.cnblogs.com/hanyining/p/5919690.html

 

<style>
input {
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-left: 0px;
border-top: 0px;
border-right: 0px;
border-bottom: 0px;
height: 34px;
}

</style>
<input type="text" style="width: 90px"
value="${(o.logisticName)!}"
onmouseover="this.title=this.value"
readonly>
posted @ 2017-09-29 16:18  个子  阅读(1166)  评论(0编辑  收藏  举报