Hi All,
I want to ask is any method to define one class of css to make the table with alternative color with row of table. (without using javascript or server side language)
For example :
<table width="200" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td class="bg">&nbs p;</td>
</tr>
<tr>
<td class="bg">&nbs p;</td>
</tr>
<tr>
<td class="bg">&nbs p;</td>
</tr>
<tr>
<td class="bg">&nbs p;</td>
</tr>
</table>
Thanks and Regards,
stepby
I want to ask is any method to define one class of css to make the table with alternative color with row of table. (without using javascript or server side language)
For example :
<table width="200" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td class="bg">&nbs p;</td>
</tr>
<tr>
<td class="bg">&nbs p;</td>
</tr>
<tr>
<td class="bg">&nbs p;</td>
</tr>
<tr>
<td class="bg">&nbs p;</td>
</tr>
</table>
Thanks and Regards,
stepby
Comment