D
dfetrow410
I have the following table. notice I need to mahe the first td red, the
next 4 yellow and the rest gray. This is being defined in the css. The
Commercial is coming from the database???
<table border="0" cellpadding="0" cellspacing="3" width="202">
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_1">1</td>
<td align="left" valign="middle"
class="rank_1">“Commercial
#1”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">2</td>
<td align="left" valign="middle"
class="rank_5">“Commercial
#2”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">3</td>
<td align="left" valign="middle"
class="rank_5">“Commercial
#3”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">4</td>
<td align="left" valign="middle"
class="rank_5">“Commercial
#4”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">5</td>
<td align="left" valign="middle"
class="rank_5">“commercial
#5”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">6</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#6”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">7</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#7”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">8</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#8”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">9</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#9”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">10</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#10”</td>
</tr>
</table>
next 4 yellow and the rest gray. This is being defined in the css. The
Commercial is coming from the database???
<table border="0" cellpadding="0" cellspacing="3" width="202">
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_1">1</td>
<td align="left" valign="middle"
class="rank_1">“Commercial
#1”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">2</td>
<td align="left" valign="middle"
class="rank_5">“Commercial
#2”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">3</td>
<td align="left" valign="middle"
class="rank_5">“Commercial
#3”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">4</td>
<td align="left" valign="middle"
class="rank_5">“Commercial
#4”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_5">5</td>
<td align="left" valign="middle"
class="rank_5">“commercial
#5”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">6</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#6”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">7</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#7”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">8</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#8”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">9</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#9”</td>
</tr>
<tr>
<td align="center" valign="middle" width="30"
height="20" class="rank_6">10</td>
<td align="left" valign="middle"
class="rank_6">“Commercial
#10”</td>
</tr>
</table>