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

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=""

 

 

posted @ 2014-03-19 18:17  kaixinkaixin0  阅读(182)  评论(0)    收藏  举报