首页 > 其他 > 详细

超长隐藏,悬浮显示table

时间:2016-11-14 20:38:51      阅读:232      评论:0      收藏:0      [点我收藏+]
<style type="text/css">
#table {
   width: 100%;
  margin-top: 10px;
  color: #4b4b4b;
  text-align: center;
  table-layout: fixed;
   
}
#table tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}
#table th {
     padding: 3px;
  border: 1px solid #d2d2d2;
  background: #E2E3E4;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
   
}
#table tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}
#table thead {
  display: table-header-group;
  vertical-align: middle;
  border-color: inherit;
}

#table td {
     padding: 3px;
  border: 1px solid #d2d2d2;
  white-space: nowrap;
  overflow: hidden
     
}
</style>

 

超长隐藏,悬浮显示table

原文:http://www.cnblogs.com/lostjoke/p/6063012.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!