+ -
当前位置:首页 → 问答吧 → ie6下,table的border显示不完整

ie6下,table的border显示不完整

时间:2011-04-27

来源:互联网


这是一个js搜索并分页。
如图所示,当点击翻页后表格的边框就显示不完整了,
css代码如下:CSS code
/****搜索表格****/    
table.tableMainStyle{ width:500px; text-align:left; margin:15px auto 10px auto;
    border-collapse:collapse; 
    border:solid #9EB5D0;
    border-width:1px 0 0 1px; 
}
table.tableMainStyle th,table.tableMainStyle td { padding:3px 5px; border:solid #9EB5D0;border-width:0 1px 1px 0; font-size:12px; height:22px; line-height:22px;}
table.tableMainStyle th{ background:#D0DFFF; text-align:center;}
table.tableMainStyle tr.trNone{display:none; padding:0; background:none; visibility:hidden;}

/***分页组件***/
#paging_component { padding:10px 50px; text-align:center; }
.btn_sup, .btn_sdown, .btn_shere, .btn_disabled { width:60px; line-height:20px; height:20px; margin:2px; cursor:pointer; background:#fff; border: solid #ddd 1px; color:#2B333C; font-size:12px; text-align:center; }
.btn_disabled { cursor:text !important; color:#808080 !important; }
#paging_component a { text-decoration:none; color:#000; padding:2px 5px; margin:0 3px; border: solid #ddd 1px; }
.paging_here { font-weight:bold; background:#E1EAFF; line-height:20px; }

作者: hqyw20061215   发布时间: 2011-04-27

在做之前去掉浏览器自身的样式表试试。

作者: sonaXH   发布时间: 2011-04-28

上全套,CSS+JS

作者: theforever   发布时间: 2011-04-28

热门下载

更多