首页 > 其他 > 详细

table中文字溢出时用省略号表示

时间:2014-03-19 22:05:34      阅读:570      评论:0      收藏:0      [点我收藏+]

table{
    table-layout:fixed;/* 只有定义了表格的布局算法为fixed,下面td的定义才能起作用。 */
}
.applist_table th{ text-overflow:ellipsis;

word-break:keep-all;/* 不换行 */
    white-space:nowrap;/* 不换行 */
    overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */

}

 

 

背景透明:

.mk-mask{position: fixed;top:0;left:0;width: 100%;height:100%;_position:absolute;
_height:expression(document.body.offsetHeight+"px");
top:0px;left:0px;width:100%;height:100%;background:#000 repeat scroll;
opacity:0.6;-moz-opacity:0.6;-khtml-opacity: 0.6;filter:alpha(opacity=50);
filter:alpha(opacity=60);z-index:198;display:none;}

 

显示表格的全部内容:title=""

table中文字溢出时用省略号表示,布布扣,bubuko.com

table中文字溢出时用省略号表示

原文:http://www.cnblogs.com/kaixiner/p/3612060.html

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