td定义了width:400px;但在页面里不起作用
来源:互联网 发布:手机淘宝联盟怎么注册 编辑:程序博客网 时间:2024/05/29 18:50
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
#test {table-layout:fixed;}
#test td{width:400px;height:20px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;}
</style>
</head>
<body>
<div id="grid_div" style="overflow:scroll; WIDTH: 100%; HEIGHT: 100px">
<table border="1" cellspacing="0" cellpadding="0" id="test">
<tr>
<td>asdfasdfasfdasfdasfdasfd</td>
<td>ewrtwertwertwertwert</td>
<td>wertwertwetrwertwertwer</td>
<td>wertwer</td>
<td>ewtrwetr</td>
</tr>
</table>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
#test {table-layout:fixed;}
#test td{width:400px;height:20px;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;}
</style>
</head>
<body>
<div id="grid_div" style="overflow:scroll; WIDTH: 100%; HEIGHT: 100px">
<table border="1" cellspacing="0" cellpadding="0" id="test">
<tr>
<td>asdfasdfasfdasfdasfdasfd</td>
<td>ewrtwertwertwertwert</td>
<td>wertwertwetrwertwertwer</td>
<td>wertwer</td>
<td>ewtrwetr</td>
</tr>
</table>
</div>
</body>
</html>
- td定义了width:400px;但在页面里不起作用
- table td 中定义了 width 但 overflow 不起作用的解决方法
- <td> 设置了 style="width:100px;" 不起作用;div 内容溢出不换行 解决方案
- 关于td中的width不起作用的问题。
- table里td标签的width属性在ie浏览器中无效解决方法
- table里td标签的width属性在ie浏览器中无效解决方法
- table里的th和td加了边框后,他是两个边框重合的,1PX就变成了2PX
- Qt语言家使用问题:在语言家翻译了,但程序起来翻译就是不起作用
- 在bean内定义了Clientservice,但使用时出错
- 样式里定义td的事件
- setTimeout在jQuery里不起作用
- bootstrap table里th设置data-width="400px"后,发现url不能适应,th突破限制。
- IE6下定义height高度异常,如何在IE6里定义高度小于18px的盒子
- 在写extjs中一个panel里放了3个grid,但就是不显示页面,后台给出数据,前台也有加载数据
- 在TD中放一个form表单时会出现TD撑大的现象,但空间又不知道去了哪?
- MyEclipse修改了JSP页面,但Tomcat里的没有实时更新
- <span style='width: ""> </span> width不起作用
- 自己的点击也算在页面访问里了?
- SHRINK SPACE CHECK
- xml查询入门笔记
- C#鼠标自动点击
- Oracle的merge
- 项目总结:ORACLE通过JOB定时创建表的运用
- td定义了width:400px;但在页面里不起作用
- 数字摘要码
- 02-08 控制AutoCAD环境(八) 提示用户输入
- 合理规划您的硬盘分区
- instanceof
- 关于hosts
- 网站seo优化
- C# ListBox用法
- NoSuchMethodError的解决方案(The method getJspApplicationContext(ServletContext) 问题)