CSS小技巧

[ 2004-09-09 00:45:21 | Author: zhenhua ]
Font Size: Large | Medium | Small
<style>
.db tr{
background-color:expression('#eeeeee,#eeeeee,#eeeeee,#cccccc,#cccccc,#cccccc'.split(',')[rowIndex%6]);
}
</style>
<table width="500" border="1" class="db">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>

Comments Feed Comments Feed: http://www.zhenhua.org/feed.asp?q=comment&id=168
UTF-8 Encoding Trackback URL: http://www.zhenhua.org/trackback.asp?id=168

There is no comment on this article.

If you feel this site you find this information helpful, please click on the donation, which is voluntary,Thank you.
Post Comment
Smilies
[arrow] [biggrin] [confused] [cool]
[cry] [eek] [evil] [exclaim]
[frown] [idea] [lol] [mad]
[mrgreen] [neutral] [question] [razz]
[redface] [rolleyes] [sad] [smile]
[surprised] [twisted] [wink]
Enable UBB Codes
Auto Convert URL
Show Smilies
Hidden Comment
Username:   Password:   Register Now?
Security Code * Please Enter the Security Code