datalist 中的itemtemplate重复排列,如何编写它的边框

来源:百度知道 编辑:UC知道 时间:2024/07/07 03:42:51
在我的dataliat中,我有两个表格,上面的表格和线面的表格都在itemtemplate中,下面的表格用JS编写为两行排列出现,我要如何编写它的边框样式,两个表格交接出的线条不回变粗,
<style>
.table1{
border-right:1px solid #809cb1;
border-bottom:1px solid #809cb1;
width:100px;
filter:progid:DXImageTransform.Microsoft.Gradient(startcolorstr="#fcebd6", endcolorstr="#f1c643", gradientType="0")
}
</style>

<HeaderTemplate>
<table width="600" cellpadding="0" cellspacing="0" style="border-left:1px solid #809cb1; border-top:1px solid #809cb1;">
<tr>
<td class="table1"> 工号</td>
<td class="table1">姓名</td>
<td class="table1">考勤时间</td>
<td class="table1"

楼主的Table
和 td
都设置了边框样式,所以才会重叠。

只设置 Table的样式就OK拉

<table style="border:1px solid #ccc">

<table width="600" cellpadding="0" cellspacing="0" style="border-top-style:none;border-left:1px solid #809cb1; border-top:1px solid #809cb1;">

border-top-style!!