双色相间表格(绝)

类别:网站制作 点击:0 评论:0 推荐:
<html>
<body>
<style>
.DoubleColorTable tr{
 background-color:expression("#FFFFFF,#EEEEEE".split(",")[rowIndex%2])
}
</style>
<table width="70%"  border="1" cellpadding="0"  class="DoubleColorTable">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

本文地址:http://com.8s8s.com/it/it31420.htm