<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> .tb{width:800px;font-size:12px;background:#6887D9} .tb thead th{height:25px;background:#217AC4;color:white} .tb tbody td{height:22px;background:white;padding-left:3px;} .autocut { width:200px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; -icab-text-overflow: ellipsis; -khtml-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -webkit-text-overflow: ellipsis; } </style> </head> <body> <table class="tb" border="0" cellpadding="1" cellspacing="1"> <thead> <tr> <th>Column1</th> <th>Column2</th> <th>Column3</th> </tr> </thead> <tbody> <tr> <td>Column1</td> <td width="200px;"><div class="autocut">放松的方式方法对所发生的放松的方式的方式</div></td> <td>Column3</td> </tr> <tr> <td>Column1</td> <td width="200px;"><div class="autocut">放松的方式方法对所发生的放松的方式的方式</div></td> <td>Column3</td> </tr> <tr> <td>Column1</td> <td width="200px;"><div class="autocut">放松的方式方法对所发生的放松的方式的方式</div></td> <td>Column3</td> </tr> </tbody> </table> </body> </html>
详细解决方案
table td 文字超出展示省略号
热度:499 发布时间:2012-06-26 10:04:13.0
相关解决方案
- 关于for循环中delete 跟 拼接sql delete table in ()的效率比较?
- table js排序,该如何处理
- jsp页面中加了<table>元素后,页面出现了一大片空白后才出现表格?解决方法
- jsp页面中加了<table>元素后,页面出现了一大片空缺后才出现表格
- Unknown table 'book' in field list
- VS2010 RDLC 报表 表(table) 分页的时候怎么显示表头
- table 点击td剔除整行
- 【误删除了表】SQL 小弟我不小心执行了 drop table 表
- 关于固定表头。(GridView,Table。),该如何解决
- Table 布局怎么改用CSS定位
- sql清空表数据用truncate table 表名处理,若表名是以数字开头,或者完全是数字,这句会报语法异常
- c# 网页采摘 TABLE
- sqltxet能不能这么写成"select *rowid from table"
- 大哥们救上命啊ArgumentException: 列“xxx”不属于表 Table
- 动态添加<table>遇到的有关问题
- table 细边框解决方法
- 要取TextBox里的值插入表, insert into table value(); 括号里应该如何写
- table 嵌套有关问题
- 在类名上这样写是啥[Table(Name = "Product")]解决方法
- html中<table>和<asp:Tabel>有什么不一样啊该如何解决
- da.Fill(ds, startRecord, maxRecords, "table"); 工作原理解决办法
- web TABLE,该如何处理
- JS预览 Table
- 怎么自动补充html中<table>中的宽度和高度
- 关于<table class="Text">
- 执行“Alter table“报出” Syntax error in field definition“异常
- 如何能不让GridView变成<table>
- <table align="center">中的align属性过期了?该如何处理
- HTML用在<table>上的cellpadding、cellspacing在css里对应的是什么解决方案
- 元素"tr"不能嵌套在元素"table"中,该怎么处理