/*表格 溢出隐藏*/ table{ width:100%; border-collapse: collapse; table-layout:fixed;/* 只有定义了表格的布局算法为fixed,下面td的定义才能起作用。 */ } /*文字处理*/ .word_break{ white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow:hidden; }
/*表格 溢出隐藏*/ table{ width:100%; border-collapse: collapse; table-layout:fixed;/* 只有定义了表格的布局算法为fixed,下面td的定义才能起作用。 */ } /*文字处理*/ .word_break{ white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow:hidden; }
转载于:https://www.cnblogs.com/sjshare/p/7285087.html