幽灵资源网 Design By www.bzswh.com
HTML示例源代码:
复制代码代码如下:
<table class="list_table" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>Latin name</th>
<th>fastq file</th>
<th>fasta file</th>
<th>snp</th>
<th>Article</th>
</tr>
<tr class="odd">
<td>Latimeria chalumnae</td>
<td><a href="#">fastq</a></td>
<td><a href="#">fasta</a></td>
<td><a href="#">snp</a></td>
<td><a href="#">article</a></td>
</tr>
<tr class="even">
<td>Branchiostoma floridae</td>
<td><a href="#">fastq</a></td>
<td><a href="#">fasta</a></td>
<td><a href="#">snp</a></td>
<td><a href="#">article</a></td>
</tr>
<tr class="odd">
<td>Gadus morhua</td>
<td><a href="#">fastq</a></td>
<td>NA</td>
<td><a href="#">snp</a></td>
<td><a href="#">article</a></td>
</tr>
<tr class="even">
<td>Macropus eugenii</td>
<td><a href="#">fastq</a></td>
<td><a href="#">fasta</a></td>
<td>NA</td>
<td><a href="#">article</a></td>
</tr>
</table>
CSS源代码:
复制代码代码如下:
/* Table CSS Document */
.list_table {
margin-top: 0px;
padding: 0;
font-size: 12px;
word-wrap:break-word;
border:2px solid #8a5603;
border-collapse:collapse;
}
.list_table td, .list_table th{
word-wrap:break-word;
border:2px solid #8a5603;
border-collapse:collapse;
}
/* 标题列 */
.list_table th{
background-color: #FC9;
}
/* 鼠标经过时样式 */
.list_table tr:hover {
background-color:#CCC;
}
/* 奇数列 */
.odd {
background-color: #FFC;
}
/* 偶数列 */
.even {
background-color: #FC9;
}
复制代码代码如下:
<table class="list_table" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>Latin name</th>
<th>fastq file</th>
<th>fasta file</th>
<th>snp</th>
<th>Article</th>
</tr>
<tr class="odd">
<td>Latimeria chalumnae</td>
<td><a href="#">fastq</a></td>
<td><a href="#">fasta</a></td>
<td><a href="#">snp</a></td>
<td><a href="#">article</a></td>
</tr>
<tr class="even">
<td>Branchiostoma floridae</td>
<td><a href="#">fastq</a></td>
<td><a href="#">fasta</a></td>
<td><a href="#">snp</a></td>
<td><a href="#">article</a></td>
</tr>
<tr class="odd">
<td>Gadus morhua</td>
<td><a href="#">fastq</a></td>
<td>NA</td>
<td><a href="#">snp</a></td>
<td><a href="#">article</a></td>
</tr>
<tr class="even">
<td>Macropus eugenii</td>
<td><a href="#">fastq</a></td>
<td><a href="#">fasta</a></td>
<td>NA</td>
<td><a href="#">article</a></td>
</tr>
</table>
CSS源代码:
复制代码代码如下:
/* Table CSS Document */
.list_table {
margin-top: 0px;
padding: 0;
font-size: 12px;
word-wrap:break-word;
border:2px solid #8a5603;
border-collapse:collapse;
}
.list_table td, .list_table th{
word-wrap:break-word;
border:2px solid #8a5603;
border-collapse:collapse;
}
/* 标题列 */
.list_table th{
background-color: #FC9;
}
/* 鼠标经过时样式 */
.list_table tr:hover {
background-color:#CCC;
}
/* 奇数列 */
.odd {
background-color: #FFC;
}
/* 偶数列 */
.even {
background-color: #FC9;
}
幽灵资源网 Design By www.bzswh.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
幽灵资源网 Design By www.bzswh.com
暂无评论...