惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
J
Java Code Geeks
有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
量子位
D
Docker
V
Visual Studio Blog
博客园 - 司徒正美
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
U
Unit 42
M
MIT News - Artificial intelligence
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
G
Google Developers Blog
Engineering at Meta
Engineering at Meta
V
V2EX
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网
Vercel News
Vercel News
C
Check Point Blog

博客园 - yiyanxiyin

一个linq左连接查询速度问题 利用vba实现excel表格连接打印编号(一页两个编号),编号支持前缀 使用反射让linq实现动态查询, 类似拼接sql语句的where 条件 中断工作流并持久化到数据库中【源码】 按模板生成word报表,可扩展,demo可生成多页 在非asp.net程序中使用缓存 固定table的行列 wcf中异步与双向通讯的区别 解决msmq私有队列不能持久保存的问题 sqlserver中使用查询分析器的一点小技巧 原创:一个相当有用的宏(for vs.net),该宏能大大的提高开发速度 Response.Redirect()与Server.Transfer()的区别 cellIndex在隐藏td中的问题,bug?(ie6) - yiyanxiyin - 博客园 一个format格式问题 - yiyanxiyin - 博客园 参透js 搞不懂的js 个人作品:全文搜索Access中的数据(附.net源代码) 个人作品:存储过程代码生成器(for MS SQL Server) 原创技术文章:保存帐号信息通用类(使用Session或者Cookie)
固定table的cell宽度,多余的文字隐藏 - yiyanxiyin - 博客园
yiyanxiyin · 2008-01-04 · via 博客园 - yiyanxiyin

只能通过div来控制,td没这个功能:

  <table   border=1   width=100>   
      
<tr><td><div   nowrap  style="width:100;overflow:hidden;">very loooooooooooooooooooooooooooooooong sentence</div></td></tr>   
      
<tr><td><div   nowrap  style="width:100;overflow:hidden;">very loooooooooooooooooooooooooooooooong sentence</div></td></tr>   
      
<tr><td><div   nowrap  style="width:100;overflow:hidden;">very loooooooooooooooooooooooooooooooong sentence</div></td></tr>   
      
<tr><td><div   nowrap  style="width:100;overflow:hidden;">very loooooooooooooooooooooooooooooooong sentence</div></td></tr>   
  
</table>