css设置table外边与内边不同颜色

author Owner  •  Filed under templates, internet

.table_wrapper table{
	width:817px;
	border-collapse: collapse;
	border: 1px solid #95B8E7;
}
.table_wrapper table tr td{
    font-size: 14px;
    width:50px;
    height:35px;
    border-width: 0 0 1px 1px;
    border-style: solid;
    border-color: #95B8E7;
    /*_border-left-width: expression(this.previousSibling==null?'0':'1px');*/
}
.table_wrapper table tr td:first-child{
	border-left-width: 0;
}
.table_wrapper table tr.lastRow td{
	border-bottom-width: 0;
}

上述写法针对IE6与IE8,只记录一下处理思路。IE8只识别first-child,不识别last-child

Tagged: orci, lectus, varius, turpis

Comments (0)  • 2016-08-19 14:40:59 •  Edit

0 Responses

最新文章