首页 > Web开发 > 详细

电力项目七--js控制文字内容过长的显示

时间:2017-05-20 00:35:59      阅读:397      评论:0      收藏:0      [点我收藏+]

当文本框中文字内容过长时,需要调整显示的样式

 技术分享

如上图所示的样式

对应的代码为:

<div id="showInfomation" style="visibility: hidden"></div>
                            <tr onmouseover="this.style.backgroundColor = ‘white‘" onmouseout="this.style.backgroundColor = ‘#F5FAFE‘;">
                                <td style="HEIGHT:22px" align="center" width="40%">
                                    <div class="scrollStyle" align="left" onmouseover="showInfoWithPanel(this)" onmouseout="hiddenInfoPanel(this)" style="table-layout:fixed;">
                                    <!-- 站点运行情况 -->
                                        <s:property value="stationRun"/>
                                    </div>

 

电力项目七--js控制文字内容过长的显示

原文:http://www.cnblogs.com/taiguyiba/p/6880652.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!