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
原文:http://www.cnblogs.com/kaixiner/p/3612060.html